From 418a7723c81c2a71c0bd8a79ac1d00f7717f3005 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Fri, 10 Mar 2017 12:54:44 -0800 Subject: [PATCH] GLExtensions: remove NV_depth_buffer_float from OpenGL 3.0 Regression introduced in e99cd57 / 4935: VideoBackends: Set the maximum range when the depth range is oversized[1]. The NV_depth_buffer_float extension is not part of OpenGL 3.0, and requiring it causes a hard crash when it's not supported (e.g. macOS). [1]: https://github.com/dolphin-emu/dolphin/pull/4935 --- Source/Core/Common/GL/GLExtensions/GLExtensions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp b/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp index ff252bb1f7..546bfa1b69 100644 --- a/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp +++ b/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp @@ -2072,7 +2072,7 @@ static void InitExtensionList() std::string gl300exts[] = { "GL_ARB_map_buffer_range", "GL_ARB_color_buffer_float", "GL_ARB_texture_float", "GL_ARB_half_float_pixel", "GL_ARB_framebuffer_object", "GL_ARB_texture_float", - "GL_ARB_vertex_array_object", "GL_NV_depth_buffer_float", + "GL_ARB_vertex_array_object", "GL_ARB_depth_buffer_float", //"GL_EXT_texture_integer", //"GL_EXT_gpu_shader4", //"GL_APPLE_flush_buffer_range",