mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
mesa: remove useless assert in _mesa_TextureView()
Already checked in _mesa_choose_texture_format(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
1ebe4305fd
commit
e87e4f239f
1 changed files with 0 additions and 1 deletions
|
|
@ -633,7 +633,6 @@ _mesa_TextureView(GLuint texture, GLenum target, GLuint origtexture,
|
|||
|
||||
texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
|
||||
internalformat, GL_NONE, GL_NONE);
|
||||
assert(texFormat != MESA_FORMAT_NONE);
|
||||
if (texFormat == MESA_FORMAT_NONE) return;
|
||||
|
||||
newViewNumLevels = MIN2(numlevels, origTexObj->NumLevels - minlevel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue