diff options
author | Fredrik Höglund <[email protected]> | 2012-10-10 16:27:31 +0200 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2012-10-16 13:21:41 +0200 |
commit | 762d9ace6b02e792b2efe69e81c6c5b81069e43b (patch) | |
tree | d8a71e0cf4ab298e9958ea2f969cd7a10b03fb17 /src/mesa/main/api_exec.c | |
parent | 017c6fb324194ba1c2e15fbee2f85a2fd8f140c4 (diff) |
mesa/es: Enable GL_EXT_map_buffer_range
This extension is functionally the same as GL_ARB_map_buffer_range.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r-- | src/mesa/main/api_exec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index a7d4da5eeb6..09df007f439 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -756,10 +756,9 @@ _mesa_create_exec_table(struct gl_context *ctx) SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample); } - if (ctx->API != API_OPENGLES2) { - SET_MapBufferRange(exec, _mesa_MapBufferRange); - SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange); - } + /* GL_ARB_map_buffer_range / GL_EXT_map_buffer_range */ + SET_MapBufferRange(exec, _mesa_MapBufferRange); + SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange); /* GL_ARB_copy_buffer */ if (ctx->API != API_OPENGLES2) { |