summaryrefslogtreecommitdiffstats
path: root/platform/haiku/os_haiku.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-10-13 00:18:04 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-10-13 00:18:04 +0200
commit79e247d74e775c2fe75d1dd499240e8782f0f44b (patch)
tree2843471c965757ea2fa4be7b3db79e1b1d445038 /platform/haiku/os_haiku.cpp
parentf956f2979eb6603724236c228be4fff913f2d26e (diff)
downloadredot-engine-79e247d74e775c2fe75d1dd499240e8782f0f44b.tar.gz
Drop unusued LEGACYGL_ENABLED check
[ci skip]
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r--platform/haiku/os_haiku.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 9f2f88bb4e..1d52752f21 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -105,7 +105,7 @@ void OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p_
window->SetFlags(flags);
}
-#if defined(OPENGL_ENABLED) || defined(LEGACYGL_ENABLED)
+#if defined(OPENGL_ENABLED)
context_gl = memnew(ContextGL_Haiku(window));
context_gl->initialize();
context_gl->make_current();
@@ -161,7 +161,7 @@ void OS_Haiku::finalize() {
memdelete(input);
-#if defined(OPENGL_ENABLED) || defined(LEGACYGL_ENABLED)
+#if defined(OPENGL_ENABLED)
memdelete(context_gl);
#endif
}