diff options
author | Chia-I Wu <[email protected]> | 2009-10-08 10:33:57 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-23 09:10:04 -0600 |
commit | 17ef1f6074d6107c167f1956a5c60993904c0b72 (patch) | |
tree | dc606f3d06e16aeecb29bb1cbc71ba3ddd7a44f6 /src/mesa/drivers/dri/i810/i810context.c | |
parent | d7d3fb925b6993740d0126d0d7e678c27f5f1850 (diff) |
mesa: Enable remap table in core.
This enables the remap table in core. driInitExtensions is adapted to
use the remap table. All uses of extension_helper.h are replaced by
remap_helper.h. The chicken-egg problem of the DRI drivers is also
solved.
It is now also possible to pass NULL extensions to driInitExtensions.
It will cause driInitExtensions to map all known functions. This
functionality is used by software drivers and EGL_i915.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810context.c')
-rw-r--r-- | src/mesa/drivers/dri/i810/i810context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c index 67856556865..7311b2e7654 100644 --- a/src/mesa/drivers/dri/i810/i810context.c +++ b/src/mesa/drivers/dri/i810/i810context.c @@ -116,7 +116,7 @@ static void i810BufferSize(GLframebuffer *buffer, GLuint *width, GLuint *height) /* Extension strings exported by the i810 driver. */ -const struct dri_extension card_extensions[] = +static const struct dri_extension card_extensions[] = { { "GL_ARB_multitexture", NULL }, { "GL_ARB_texture_env_add", NULL }, |