projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd32199
)
mesa: remove unused variables to fix compile warnings
author
Marek Olšák
<maraeo@gmail.com>
Mon, 8 Oct 2012 23:11:56 +0000
(
01:11
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 8 Oct 2012 23:14:55 +0000
(
01:14
+0200)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 2250815783facc6034abae190d71fa96fff211c3..b6dd3954dec2e7ed7f1212452879c7251fb4929d 100644
(file)
--- 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";