mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
r300: fix condition logic
The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
This commit is contained in:
parent
ff235c8ccb
commit
1d5a06a1f7
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ static void r300InitGLExtensions(GLcontext *ctx)
|
|||
if (r300->options.stencil_two_side_disabled)
|
||||
_mesa_disable_extension(ctx, "GL_EXT_stencil_two_side");
|
||||
|
||||
if (ctx->Mesa_DXTn && !r300->options.s3tc_force_enabled) {
|
||||
if (r300->options.s3tc_force_enabled) {
|
||||
_mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
|
||||
_mesa_enable_extension(ctx, "GL_S3_s3tc");
|
||||
} else if (r300->options.s3tc_force_disabled) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue