|
|
@@ -509,7 +509,11 @@ Platform* Platform::create(Game* game)
|
|
|
|
|
|
int rc = 0;
|
|
|
int screenFormat = SCREEN_FORMAT_RGBA8888;
|
|
|
- int screenUsage = SCREEN_USAGE_DISPLAY|SCREEN_USAGE_OPENGL_ES2;
|
|
|
+#if defined(__QNXNTO__) && defined(__X86__)
|
|
|
+ int screenUsage = SCREEN_USAGE_OPENGL_ES2;
|
|
|
+#else
|
|
|
+ int screenUsage = SCREEN_USAGE_DISPLAY|SCREEN_USAGE_OPENGL_ES2; // Physical device copy directly into physical display
|
|
|
+#endif
|
|
|
int screenSwapInterval = WINDOW_VSYNC ? 1 : 0;
|
|
|
int screenTransparency = SCREEN_TRANSPARENCY_NONE;
|
|
|
int angle = atoi(getenv("ORIENTATION"));
|