diff --git a/src/main.cpp b/src/main.cpp index 835e3f1..a954d91 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -92,7 +92,9 @@ int main(int argc, char *argv[]){ // Mosaic main visual-programming window shared_ptr mosaicWindow = dynamic_pointer_cast(ofCreateWindow(settings)); + #ifdef TARGET_LINUX mosaicWindow->setWindowIcon("images/logo_128.png"); + #endif shared_ptr mosaicApp(new ofApp); // Splash Screen Window @@ -103,7 +105,9 @@ int main(int argc, char *argv[]){ splashSettings.decorated = false; shared_ptr splashWindow = dynamic_pointer_cast(ofCreateWindow(splashSettings)); - splashWindow->setWindowIcon("images/logo_128.png"); + #ifdef TARGET_LINUX + mosaicWindow->setWindowIcon("images/logo_128.png"); + #endif shared_ptr splashApp(new SplashScreen); splashApp->splashWindow = splashWindow;