st/mesa: remove dead code
authorBrian Paul <brianp@vmware.com>
Fri, 30 Apr 2010 18:50:42 +0000 (12:50 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 3 May 2010 19:11:22 +0000 (13:11 -0600)
src/mesa/state_tracker/st_texture.c

index 722f60e..be45008 100644 (file)
 
 #define DBG if(0) printf
 
-#if 0
-static GLenum
-target_to_target(GLenum target)
-{
-   switch (target) {
-   case GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB:
-   case GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB:
-   case GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB:
-   case GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB:
-   case GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB:
-   case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB:
-      return GL_TEXTURE_CUBE_MAP_ARB;
-   default:
-      return target;
-   }
-}
-#endif
-
 
 /**
  * Allocate a new pipe_resource object