diff options
| author | Rémi Verschelde | 2017-11-19 17:52:18 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-19 17:52:18 +0100 |
| commit | 9f134aa5d1b9e3714cd9a19948004204b7f41c68 (patch) | |
| tree | 3b72e6adb818217ceec82f4c038a0879abb72ca4 /platform/haiku/os_haiku.cpp | |
| parent | bea607d53e4adff19956adbe09ace170d8cc40b8 (diff) | |
| download | godot-9f134aa5d1b9e3714cd9a19948004204b7f41c68.tar.gz godot-9f134aa5d1b9e3714cd9a19948004204b7f41c68.tar.zst godot-9f134aa5d1b9e3714cd9a19948004204b7f41c68.zip | |
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
| -rw-r--r-- | platform/haiku/os_haiku.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp index 0c34e3965..3af111faf 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)); |
