diff options
author | Jordan Justen <[email protected]> | 2012-07-24 15:37:01 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-07-30 16:25:56 -0700 |
commit | 3d0b54c7c6021becb3cae9245fc8f88a0f0f2be9 (patch) | |
tree | d68d54f0702c22fe3a1f8370c656c642a222ce15 /src/mesa/main/api_exec.h | |
parent | 1fea3df6f4455fd2047e631d4d3c85d3ff1029ae (diff) |
mesa: don't enable legacy GL functions when using API_OPENGL_CORE
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/api_exec.h')
-rw-r--r-- | src/mesa/main/api_exec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/api_exec.h b/src/mesa/main/api_exec.h index 29c953f31be..100e9727302 100644 --- a/src/mesa/main/api_exec.h +++ b/src/mesa/main/api_exec.h @@ -28,12 +28,13 @@ struct _glapi_table; +struct gl_context; extern struct _glapi_table * _mesa_alloc_dispatch_table(int size); extern struct _glapi_table * -_mesa_create_exec_table(void); +_mesa_create_exec_table(struct gl_context *ctx); extern struct _glapi_table * _mesa_create_exec_table_es1(void); |