summaryrefslogtreecommitdiffstats
path: root/platform/haiku/os_haiku.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-19 21:36:00 +0100
committerGitHub <noreply@github.com>2017-11-19 21:36:00 +0100
commit6ace4011e4fcc3f684ce0992137645f614cfdee9 (patch)
treee61f80e760f8c38302339ca720c951a493d2af91 /platform/haiku/os_haiku.cpp
parent39204630a7165ecda15228d7b5210e1634e6bcf9 (diff)
parent9f134aa5d1b9e3714cd9a19948004204b7f41c68 (diff)
downloadredot-engine-6ace4011e4fcc3f684ce0992137645f614cfdee9.tar.gz
Merge pull request #13045 from akien-mga/gles2-cleanup
Cleanup old references to GLES2 renderer
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r--platform/haiku/os_haiku.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 0c34e39655..3af111faf3 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -76,7 +76,7 @@ int OS_Haiku::get_video_driver_count() const {
}
const char *OS_Haiku::get_video_driver_name(int p_driver) const {
- return "GLES2";
+ return "GLES3";
}
void OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver) {
@@ -106,7 +106,9 @@ void OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p_
context_gl->initialize();
context_gl->make_current();
- rasterizer = memnew(RasterizerGLES2);
+ /* Port to GLES 3 rasterizer */
+ //rasterizer = memnew(RasterizerGLES2);
+
#endif
visual_server = memnew(VisualServerRaster(rasterizer));