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
This commit is contained in:
Michael Maltese 2017-03-10 12:54:44 -08:00
parent e99cd57eb3
commit 418a7723c8
1 changed files with 1 additions and 1 deletions

View File

@ -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",