Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLExtensions: remove NV_depth_buffer_float from OpenGL 3.0 #5063

Merged
merged 1 commit into from Mar 10, 2017

Conversation

ligfx
Copy link
Contributor

@ligfx ligfx commented Mar 10, 2017

Regression introduced in e99cd57 / 4935: VideoBackends: Set the maximum range when the depth range is oversized. 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).

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]: dolphin-emu#4935
@CrossVR
Copy link
Contributor

CrossVR commented Mar 10, 2017

GL_ARB_depth_buffer_float is not the same thing as GL_NV_depth_buffer_float.

Also, I wasn't aware this list indicated required extensions? If so, then that's my mistake and the proper fix is to remove it from the list, the extension is entirely optional.

@ligfx
Copy link
Contributor Author

ligfx commented Mar 10, 2017

@Armada651 that list indicates presumed extensions, based on the OpenGL version, in case they're not returned by GL_EXTENSIONS.

Any other extension can be queried and used specifically, as long as it's seen in GL_EXTENSIONS.

@CrossVR
Copy link
Contributor

CrossVR commented Mar 10, 2017

SGTM

@CrossVR CrossVR merged commit af4da70 into dolphin-emu:master Mar 10, 2017
@ligfx ligfx deleted the no_nv_depth_buffer_float branch May 24, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants