projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95420d
)
mesa: remove useless assert in texture_storage()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 09:52:57 +0000
(11:52 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 14:14:22 +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/texstorage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstorage.c
b/src/mesa/main/texstorage.c
index 99a169e5ff9b88afef6964820893a7600f89b221..ef4fe58f5e49182f214131e4117844dcc2081387 100644
(file)
--- a/
src/mesa/main/texstorage.c
+++ b/
src/mesa/main/texstorage.c
@@
-406,7
+406,6
@@
texture_storage(struct gl_context *ctx, GLuint dims,
texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
internalformat, GL_NONE, GL_NONE);
- assert(texFormat != MESA_FORMAT_NONE);
/* check that width, height, depth are legal for the mipmap level */
dimensionsOK = _mesa_legal_texture_dimensions(ctx, target, 0,