summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-07 17:17:11 +0800
committerBrian Paul <[email protected]>2009-09-24 21:48:22 -0600
commitcb4f24e51d0f4f4b867b2c01ed26d2a5ce73aeab (patch)
tree8814ee8b9722cf1e8bdaa28f87ddb99acad1a5d7 /src/mesa/main/texobj.c
parentdbb8fb8de9a9deca0ae22015e4680f4e631d6d32 (diff)
mesa/main: Make FEATURE_colortable follow feature conventions.
As shown in mfeatures.h, this allows users of colortab.h to work without knowing if the feature is available.
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index d09c4392506..678845ece06 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -29,9 +29,7 @@
#include "mfeatures.h"
-#if FEATURE_colortable
#include "colortab.h"
-#endif
#include "context.h"
#include "enums.h"
#include "fbobject.h"
@@ -194,9 +192,7 @@ _mesa_delete_texture_object( GLcontext *ctx, struct gl_texture_object *texObj )
*/
texObj->Target = 0x99;
-#if FEATURE_colortable
_mesa_free_colortable_data(&texObj->Palette);
-#endif
/* free the texture images */
for (face = 0; face < 6; face++) {