mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +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);
|
const GLint maxLevels = _mesa_max_texture_levels(ctx, target);
|
||||||
GLint expectedSize;
|
GLint expectedSize;
|
||||||
GLenum choose_format;
|
|
||||||
GLenum choose_type;
|
|
||||||
GLenum proxy_format;
|
|
||||||
GLenum error = GL_NO_ERROR;
|
GLenum error = GL_NO_ERROR;
|
||||||
char *reason = ""; /* no error */
|
char *reason = ""; /* no error */
|
||||||
|
|
||||||
|
|
@ -2015,10 +2012,6 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
choose_format = GL_NONE;
|
|
||||||
choose_type = GL_NONE;
|
|
||||||
proxy_format = internalFormat;
|
|
||||||
|
|
||||||
/* check level */
|
/* check level */
|
||||||
if (level < 0 || level >= maxLevels) {
|
if (level < 0 || level >= maxLevels) {
|
||||||
reason = "level";
|
reason = "level";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue