Ignore:
Timestamp:
Jan 21, 2013, 2:11:58 PM (8 years ago)
Author:
sam
Message:

core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/01_triangle.cpp

    r2237 r2241  
    1818using namespace std;
    1919using namespace lol;
    20 
    21 #if defined _WIN32
    22 #   include <direct.h>
    23 #endif
    2420
    2521extern char const *lolfx_01_triangle;
     
    7975    Application app("Tutorial 1: Triangle", ivec2(640, 480), 60.0f);
    8076
    81 #if defined _MSC_VER && !defined _XBOX
    82     _chdir("..");
    83 #elif defined _WIN32 && !defined _XBOX
    84     _chdir("../..");
    85 #endif
    86 
    8777    new DebugFps(5, 5);
    8878    new Triangle();
Note: See TracChangeset for help on using the changeset viewer.