[intel] Only enable GL_EXT_texture_sRGB on i965.
authorKristian Høgsberg <krh@redhat.com>
Fri, 7 Mar 2008 18:45:09 +0000 (13:45 -0500)
committerKristian Høgsberg <krh@redhat.com>
Fri, 7 Mar 2008 18:46:05 +0000 (13:46 -0500)
Fixes #14799.

src/mesa/drivers/dri/intel/intel_context.c

index 6c8ab1fa1e2c61694ffdd56fb504d14711326386..cad8277c998afef0149421e53a6aa43ece2b6f5a 100644 (file)
@@ -231,7 +231,6 @@ static const struct dri_extension card_extensions[] = {
    {"GL_EXT_texture_env_dot3", NULL},
    {"GL_EXT_texture_filter_anisotropic", NULL},
    {"GL_EXT_texture_lod_bias", NULL},
-   {"GL_EXT_texture_sRGB", NULL},
    {"GL_3DFX_texture_compression_FXT1", NULL},
    {"GL_APPLE_client_storage", NULL},
    {"GL_MESA_pack_invert", NULL},
@@ -257,6 +256,7 @@ static const struct dri_extension brw_extensions[] = {
    /* ARB extn won't work if not enabled */
    { "GL_SGIX_depth_texture",             NULL },
    { "GL_ARB_texture_env_crossbar",       NULL },
+   { "GL_EXT_texture_sRGB",              NULL},
    { NULL,                                NULL }
 };