summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-11-13 14:15:11 -0800
committerIan Romanick <[email protected]>2013-12-20 16:43:08 -0800
commit49493224623d4a559337a5079532015f7db58e4a (patch)
tree6fe6f422f3d19b1cef230549a4c69f37b17c9fce /src/mesa/main/teximage.c
parenta92b9e60aba8cd1fc5d935abc9fd8f37cae89168 (diff)
mesa: Clean up bad code formatting left from previous commit
Also s/_EXT// on enums that are now part of core. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 4e981aa8c90..9c3f1e86e5b 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -301,13 +301,13 @@ _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat )
}
}
- switch (internalFormat) {
- case GL_DEPTH_STENCIL_EXT:
- case GL_DEPTH24_STENCIL8_EXT:
- return GL_DEPTH_STENCIL_EXT;
- default:
- ; /* fallthrough */
- }
+ switch (internalFormat) {
+ case GL_DEPTH_STENCIL:
+ case GL_DEPTH24_STENCIL8:
+ return GL_DEPTH_STENCIL;
+ default:
+ ; /* fallthrough */
+ }
if (ctx->Extensions.EXT_texture_sRGB) {
switch (internalFormat) {