diff options
author | Marek Olšák <[email protected]> | 2012-10-09 01:11:56 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-09 01:14:55 +0200 |
commit | cb72ec5fc55651af186e45942a1cd3e45eb5c359 (patch) | |
tree | dfe6423b3b92ec87560b35e9342741da19ac63a4 /src/mesa | |
parent | fd3219962de473fb426a00fa6a3256f1efc1f24c (diff) |
mesa: remove unused variables to fix compile warnings
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/teximage.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2250815783f..b6dd3954dec 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1949,9 +1949,6 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, { const GLint maxLevels = _mesa_max_texture_levels(ctx, target); GLint expectedSize; - GLenum choose_format; - GLenum choose_type; - GLenum proxy_format; GLenum error = GL_NO_ERROR; char *reason = ""; /* no error */ @@ -2015,10 +2012,6 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, #endif default: - choose_format = GL_NONE; - choose_type = GL_NONE; - proxy_format = internalFormat; - /* check level */ if (level < 0 || level >= maxLevels) { reason = "level"; |