Don't abort just because libosso failed to initialize
authorSami Kyostila <sami.kyostila@nokia.com>
Tue, 15 Dec 2009 11:21:36 +0000 (13:21 +0200)
committerSami Kyöstilä <sami.kyostila@nokia.com>
Tue, 15 Dec 2009 11:44:46 +0000 (13:44 +0200)
glmemperf.cpp

index 0a0f1cc..b19b133 100644 (file)
@@ -74,8 +74,7 @@ bool initializeEgl(int width, int height, const EGLint* configAttrs, const EGLin
     ossoContext = osso_initialize("com.nokia.memperf", "1.0", FALSE, NULL);
     if (!ossoContext)
     {
-        perror("osso_initialize");
-        goto out_error;
+        printf("Warning: osso_initialize failed\n");
     }
 #endif