projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ebe430
)
mesa: remove useless assert in _mesa_TextureView()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 09:53:04 +0000
(11:53 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 14:14:36 +0000
(16:14 +0200)
Already checked in _mesa_choose_texture_format().
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/textureview.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/textureview.c
b/src/mesa/main/textureview.c
index ed66c179589b799bf78b580179777bbf8adff572..cef9caff41cbb49626ad912e56ed9ae0612f7791 100644
(file)
--- a/
src/mesa/main/textureview.c
+++ b/
src/mesa/main/textureview.c
@@
-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);