aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-31 02:04:16 +0100
committerMarek Olšák <[email protected]>2012-10-31 02:04:16 +0100
commitb6f5c37ac3e8ec3aae39289f94f05cb71a587066 (patch)
treeec7bda349b8136485c44a4e37caea55cc631fd74 /src/mesa/main
parent2266b1df231ccb408d7ad2b4d5f9db850045248c (diff)
mesa: move EXT_texture3D enabling to _mesa_init_extensions
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/extensions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index b417774710b..142f8652f73 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -357,8 +357,6 @@ name_to_offset(const char* name)
* XXX: Should these defaults also apply to GLES?
*/
static const size_t default_extensions[] = {
- o(EXT_texture3D),
-
o(OES_standard_derivatives),
/* Vendor Extensions */
@@ -714,6 +712,7 @@ _mesa_init_extensions( struct gl_context *ctx )
/* Then, selectively turn default extensions on. */
ctx->Extensions.dummy_true = GL_TRUE;
+ ctx->Extensions.EXT_texture3D = GL_TRUE;
for (j = default_extensions; *j != 0; ++j)
base[*j] = GL_TRUE;
}