mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mesa: move EXT_texture3D enabling to _mesa_init_extensions
This commit is contained in:
parent
2266b1df23
commit
b6f5c37ac3
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue