mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mesa: replace _mesa_problem() with unreachable() in mipmap.c
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
1bd692b946
commit
51486d3369
1 changed files with 3 additions and 4 deletions
|
|
@ -757,7 +757,7 @@ do_row(GLenum datatype, GLuint comps, GLint srcWidth,
|
|||
}
|
||||
|
||||
else {
|
||||
_mesa_problem(NULL, "bad format in do_row()");
|
||||
unreachable("bad format in do_row()");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1401,7 +1401,7 @@ do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth,
|
|||
}
|
||||
|
||||
else {
|
||||
_mesa_problem(NULL, "bad format in do_row()");
|
||||
unreachable("bad format in do_row()");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1754,8 +1754,7 @@ _mesa_generate_mipmap_level(GLenum target,
|
|||
/* no mipmaps, do nothing */
|
||||
break;
|
||||
default:
|
||||
_mesa_problem(NULL, "bad tex target in _mesa_generate_mipmaps");
|
||||
return;
|
||||
unreachable("bad tex target in _mesa_generate_mipmaps");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue