mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
mesa: enable GL_ARB_texture_float if TEXTURE_FLOAT_ENABLED is defined
Per message on mesa-users list, this wasn't working before.
Note: This is a candidate for the stable branches.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 877e3c1d42)
This commit is contained in:
parent
ed00ea3444
commit
7088218b9c
1 changed files with 3 additions and 1 deletions
|
|
@ -394,7 +394,9 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
|
|||
ctx->Extensions.ARB_texture_env_combine = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_env_crossbar = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_env_dot3 = GL_TRUE;
|
||||
/*ctx->Extensions.ARB_texture_float = GL_TRUE;*/
|
||||
#ifdef TEXTURE_FLOAT_ENABLED
|
||||
ctx->Extensions.ARB_texture_float = GL_TRUE;
|
||||
#endif
|
||||
ctx->Extensions.ARB_texture_non_power_of_two = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_rg = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_compression_rgtc = GL_TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue