OSDN Git Service
(root)
/
android-x86
/
external-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
156a122
..
e52ad22
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;