projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca70850
)
mesa: remove one extra check in _mesa_DeleteTextures()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 09:53:02 +0000
(11:53 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 14:14:32 +0000
(16:14 +0200)
Already checked above.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 156a122ac0d87f77950f85d710676d8b5b2748c5..e52ad22645ba46263f4e6dd6b762fbdd04e412e5 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-1463,11
+1463,6
@@
_mesa_DeleteTextures( GLsizei n, const GLuint *textures)
FLUSH_VERTICES(ctx, 0); /* too complex */
- if (n < 0) {
- _mesa_error(ctx, GL_INVALID_VALUE, "glDeleteTextures(n)");
- return;
- }
-
if (!textures)
return;