mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
mesa: remove unused variables to fix compile warnings
This commit is contained in:
parent
fd3219962d
commit
cb72ec5fc5
1 changed files with 0 additions and 7 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue