diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-31 18:30:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 18:30:38 +0100 |
commit | 16dc607f8ad2055c8dec543bcd427fe74e5d6059 (patch) | |
tree | c99e99c1fd63fdb3d60b0c6d6ec632647e65619a /platform/osx/display_server_osx.h | |
parent | d6f972fad45d28222b1437a047241dd74f0d5b90 (diff) | |
parent | 8a10bb7d0dd0cc03353bb751af25a0eca1357c9d (diff) |
Merge pull request #54307 from Calinou/add-opengl-renderer-squash
Add OpenGL renderer (squashed)
Diffstat (limited to 'platform/osx/display_server_osx.h')
-rw-r--r-- | platform/osx/display_server_osx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/osx/display_server_osx.h b/platform/osx/display_server_osx.h index e8f2858489..96baeb4dec 100644 --- a/platform/osx/display_server_osx.h +++ b/platform/osx/display_server_osx.h @@ -36,7 +36,7 @@ #include "core/input/input.h" #include "servers/display_server.h" -#if defined(OPENGL_ENABLED) +#if defined(GLES3_ENABLED) #include "context_gl_osx.h" //TODO - reimplement OpenGLES #endif @@ -64,7 +64,7 @@ public: NSMenu *_get_dock_menu() const; void _menu_callback(id p_sender); -#if defined(OPENGL_ENABLED) +#if defined(GLES3_ENABLED) ContextGL_OSX *context_gles2; #endif #if defined(VULKAN_ENABLED) @@ -109,7 +109,7 @@ public: Vector<Vector2> mpath; -#if defined(OPENGL_ENABLED) +#if defined(GLES3_ENABLED) ContextGL_OSX *context_gles2 = nullptr; #endif Point2i mouse_pos; |