mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radeon: enable GL_NV_texture_rectangle under dri2.
This commit is contained in:
parent
85957cb512
commit
db618427ab
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ r100CreateContext( const __GLcontextModes *glVisual,
|
|||
_mesa_enable_extension( ctx, "GL_EXT_texture_compression_s3tc" );
|
||||
}
|
||||
|
||||
if (rmesa->radeon.dri.drmMinor >= 9)
|
||||
if (rmesa->radeon.radeonScreen->kernel_mm || rmesa->radeon.dri.drmMinor >= 9)
|
||||
_mesa_enable_extension( ctx, "GL_NV_texture_rectangle");
|
||||
|
||||
/* XXX these should really go right after _mesa_init_driver_functions() */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue