main: glDeleteTextures now throws GL_INVALID_VALUE if n is negative.
authorLaura Ekstrand <laura@jlekstrand.net>
Fri, 12 Dec 2014 19:02:02 +0000 (11:02 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:30 +0000 (11:37 -0800)
commit2546d901be3b47d8731ccfed5feb55afdab94763
tree22ee9a863e13478a25a9931d2feae7bf1b2d11fd
parent50d679381d2cd2413f2c3d4098b81f9c04d5de18
main: glDeleteTextures now throws GL_INVALID_VALUE if n is negative.

This is in conformance with the OpenGL spec.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/texobj.c