Improved linux/cmake template

This commit is contained in:
Matteo De Carlo
2023-05-23 15:11:40 +02:00
committed by Matteo De Carlo
parent ef15e99cd5
commit 4588f45271
2 changed files with 35 additions and 5 deletions
+4 -1
View File
@@ -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;
}
}