summaryrefslogtreecommitdiff
path: root/platform/iphone/display_layer.mm
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-02-17 13:44:49 -0300
committerreduz <reduzio@gmail.com>2021-02-18 11:23:34 -0300
commit64140eaf4254a9d2e1fcd87451560f13959f1d24 (patch)
tree206f18b3f17f5c68b664ba008f2403275b1fd583 /platform/iphone/display_layer.mm
parent8eaea1db5336cab62cf469c9860f18d69b4be929 (diff)
Reorganize Project Settings
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
Diffstat (limited to 'platform/iphone/display_layer.mm')
-rw-r--r--platform/iphone/display_layer.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/display_layer.mm b/platform/iphone/display_layer.mm
index fb57db4518..b8df81b89a 100644
--- a/platform/iphone/display_layer.mm
+++ b/platform/iphone/display_layer.mm
@@ -89,7 +89,7 @@
// FIXME: Add Vulkan support via MoltenVK. Add fallback code back?
// Create GL ES 2 context
- if (GLOBAL_GET("rendering/quality/driver/driver_name") == "GLES2") {
+ if (GLOBAL_GET("rendering/driver/driver_name") == "GLES2") {
context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
NSLog(@"Setting up an OpenGL ES 2.0 context.");
if (!context) {