removed detection of GL_NV_texture_shader extension which was previously used for...
[xonotic/darkplaces.git] / gl_textures.c
index b39b3e3c5c6a25ca66d6a9dd02b85a702d8136d6..7a53cd30d2fd00646e69c6a88a74df6fdb9335c5 100644 (file)
@@ -39,7 +39,6 @@ static textypeinfo_t textype_rgb           = {TEXTYPE_RGB    , 3, 3, GL_RGB    ,
 static textypeinfo_t textype_rgba          = {TEXTYPE_RGBA   , 4, 4, GL_RGBA   , 3};
 static textypeinfo_t textype_palette_alpha = {TEXTYPE_PALETTE, 1, 4, GL_RGBA   , 4};
 static textypeinfo_t textype_rgba_alpha    = {TEXTYPE_RGBA   , 4, 4, GL_RGBA   , 4};
-static textypeinfo_t textype_dsdt          = {TEXTYPE_DSDT   , 2, 2, GL_DSDT_NV, GL_DSDT8_NV};
 
 #define GLTEXTURETYPE_1D 0
 #define GLTEXTURETYPE_2D 1
@@ -145,8 +144,6 @@ static textypeinfo_t *R_GetTexTypeInfo(int textype, int flags)
                        return &textype_rgb;
                case TEXTYPE_RGBA:
                        return &textype_rgba;
-               case TEXTYPE_DSDT:
-                       return &textype_dsdt;
                default:
                        Host_Error("R_GetTexTypeInfo: unknown texture format");
                        return NULL;
@@ -881,8 +878,6 @@ static rtexture_t *R_SetupTexture(rtexturepool_t *rtexturepool, const char *iden
                        }
                }
                break;
-       case TEXTYPE_DSDT:
-               break;
        default:
                Host_Error("R_LoadTexture: unknown texture type");
        }