Skip to content

Commit

Permalink
Merge pull request xenia-project#1 from floooh/osxfix
Browse files Browse the repository at this point in the history
Fixed OSX chdir #if line
  • Loading branch information
fungos committed Mar 27, 2015
2 parents adb6601 + b77b525 commit 57a21fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/platform/port_glfw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ bool ApplicationBackendGLFW::Init(Application *app, int width, int height, const
m_application = app;
m_application->OnBackendAttached(this);

#ifdef TB_TARGET_MACOSX && !defined(TB_USE_CURRENT_DIRECTORY)
#if defined(TB_TARGET_MACOSX) && !defined(TB_USE_CURRENT_DIRECTORY)
// Initializing glfw put us in Resources sub directory.
chdir("../");
#endif
Expand Down

0 comments on commit 57a21fa

Please sign in to comment.