Improved linux/cmake template
This commit is contained in:
committed by
Matteo De Carlo
parent
ef15e99cd5
commit
4588f45271
@@ -43,6 +43,9 @@ int sdl_loop(wi::Application &application)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
wi::Application application;
|
||||
#ifdef WickedEngine_SHADER_DIR
|
||||
wi::renderer::SetShaderSourcePath(WickedEngine_SHADER_DIR);
|
||||
#endif
|
||||
|
||||
application.infoDisplay.active = true;
|
||||
application.infoDisplay.watermark = true;
|
||||
@@ -65,4 +68,4 @@ int main(int argc, char *argv[])
|
||||
SDL_Quit();
|
||||
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user