diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-13 11:24:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 11:24:15 +0100 |
commit | 2f6ca917f75ca6bfbe28f4749825fdabde1d0531 (patch) | |
tree | a263613010c3e303d4ec8a3a45bd98a19f5f42c3 /platform/haiku/os_haiku.cpp | |
parent | f505aae1d820f0d083ca0fdaa6fa2da7a3988db1 (diff) | |
parent | 386968ea97d4ceeb004cc05a7aa740aa7abe6ca9 (diff) |
Merge pull request #36174 from akien-mga/byebye-openghell-3
Remove obsolete GLES3 backend
Diffstat (limited to 'platform/haiku/os_haiku.cpp')
-rw-r--r-- | platform/haiku/os_haiku.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp index 80ab9c6aa1..2e4bb2ff26 100644 --- a/platform/haiku/os_haiku.cpp +++ b/platform/haiku/os_haiku.cpp @@ -28,10 +28,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "drivers/gles3/rasterizer_gles3.h" - #include "os_haiku.h" +#include "drivers/gles2/rasterizer_gles2.h" #include "main/main.h" #include "servers/physics/physics_server_sw.h" #include "servers/visual/visual_server_raster.h" @@ -78,7 +77,7 @@ int OS_Haiku::get_video_driver_count() const { } const char *OS_Haiku::get_video_driver_name(int p_driver) const { - return "GLES3"; + return "GLES2"; } int OS_Haiku::get_current_video_driver() const { @@ -112,9 +111,9 @@ Error OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p context_gl->initialize(); context_gl->make_current(); context_gl->set_use_vsync(current_video_mode.use_vsync); - RasterizerGLES3::register_config(); - RasterizerGLES3::make_current(); - + // FIXME: That's not how the rasterizer setup should happen. + RasterizerGLES2::register_config(); + RasterizerGLES2::make_current(); #endif visual_server = memnew(VisualServerRaster); |