Skip to content

Commit

Permalink
fixed osx compile
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cod3 committed Oct 6, 2024
1 parent 871a4d7 commit 63f4e37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ int main(int argc, char *argv[]){

// Mosaic main visual-programming window
shared_ptr<ofAppGLFWWindow> mosaicWindow = dynamic_pointer_cast<ofAppGLFWWindow>(ofCreateWindow(settings));
#ifdef TARGET_LINUX
mosaicWindow->setWindowIcon("images/logo_128.png");
#endif
shared_ptr<ofApp> mosaicApp(new ofApp);

// Splash Screen Window
Expand All @@ -103,7 +105,9 @@ int main(int argc, char *argv[]){
splashSettings.decorated = false;

shared_ptr<ofAppGLFWWindow> splashWindow = dynamic_pointer_cast<ofAppGLFWWindow>(ofCreateWindow(splashSettings));
splashWindow->setWindowIcon("images/logo_128.png");
#ifdef TARGET_LINUX
mosaicWindow->setWindowIcon("images/logo_128.png");
#endif
shared_ptr<SplashScreen> splashApp(new SplashScreen);
splashApp->splashWindow = splashWindow;

Expand Down

0 comments on commit 63f4e37

Please sign in to comment.