diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-20 11:53:02 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-20 16:14:32 +0200 |
commit | 0752428a32998c700ef13c8b3291915d748665a0 (patch) | |
tree | e2bc7a178bcbc5accbfdbbf79d33293c20247ed8 /src/mesa/main/texobj.c | |
parent | ca7085061ded8a2823e3d7562043eee65807d07d (diff) |
mesa: remove one extra check in _mesa_DeleteTextures()
Already checked above.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 156a122ac0d..e52ad22645b 100644 --- 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; |