summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-19 06:31:49 -0700
committerPaul Berry <[email protected]>2012-11-01 11:25:27 -0700
commita21116f87e44aabb6cb1f040dd557eac98144dd8 (patch)
tree39467657e0473af5ce2834be0375e06c2efeac67 /src/mesa/main/texgen.h
parent5a1b40acf50955d727b15dc70703a19115bb3552 (diff)
dispatch: GLES1 fixes for _mesa_create_exec_table().
Currently, _mesa_create_exec_table() (in api_exec.c) is used for all APIs except GLES1. In GLES1, _mesa_create_exec_table_es1() (a code generated function) is used instead. In principle, this shouldn't be necessary. It should be possible for api_exec.c to contain the logic for populating the dispatch table for all API's. This patch paves the way for using _mesa_create_exec_table() instead of _mesa_create_exec_table_es1(), by making _mesa_create_exec_table() (and the functions it calls) expose the correct subset of desktop GL functions for GLES1. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.h')
-rw-r--r--src/mesa/main/texgen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texgen.h b/src/mesa/main/texgen.h
index 35a799587d5..03dd49c6168 100644
--- a/src/mesa/main/texgen.h
+++ b/src/mesa/main/texgen.h
@@ -50,7 +50,7 @@ extern void GLAPIENTRY
_mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params );
extern void
-_mesa_init_texgen_dispatch(struct _glapi_table *disp);
+_mesa_init_texgen_dispatch(struct gl_context *ctx, struct _glapi_table *disp);
extern void GLAPIENTRY