diff options
author | Brian Paul <[email protected]> | 2010-04-30 12:50:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-03 13:11:22 -0600 |
commit | cc67bd87999814dbf8ecc3ef99b16dac66b4f320 (patch) | |
tree | 7cdd7eafbe2c148469b40109b5c88382668bae52 /src/mesa/state_tracker/st_texture.c | |
parent | 529b7b355d392b1534ccd8ff7b428dc21cbfdc21 (diff) |
st/mesa: remove dead code
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 722f60e4252..be450084ed8 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -45,24 +45,6 @@ #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 |