diff options
author | Boyan Ding <[email protected]> | 2015-11-08 17:56:40 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-20 11:14:05 +0000 |
commit | ab7294668cb245fbe8c925be6fd6f0242bdd6a0f (patch) | |
tree | 76db4c2d706e63a8606f7c5d5c630a61912df8dc /src/mesa/main/getstring.c | |
parent | af272368547600e1db87d4dd5d718e41ea9db6c0 (diff) |
main: Don't restrict several KHR_debug enum to desktop GL
In preparation for supporting GL_KHR_debug in OpenGL ES
v2: add a missing hunk in _mesa_IsEnabled (Emil)
Signed-off-by: Boyan Ding <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/getstring.c')
-rw-r--r-- | src/mesa/main/getstring.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 2e339c85e28..06ba17c92d6 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -274,10 +274,7 @@ _mesa_GetPointerv( GLenum pname, GLvoid **params ) break; case GL_DEBUG_CALLBACK_FUNCTION_ARB: case GL_DEBUG_CALLBACK_USER_PARAM_ARB: - if (!_mesa_is_desktop_gl(ctx)) - goto invalid_pname; - else - *params = _mesa_get_debug_state_ptr(ctx, pname); + *params = _mesa_get_debug_state_ptr(ctx, pname); break; default: goto invalid_pname; |