Additional error checking for glTexImageXD.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 10 Jun 2004 20:46:23 +0000 (20:46 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 10 Jun 2004 20:46:23 +0000 (20:46 +0000)
commit601df9c742939c1f77de489561fe3e1d02f49618
treed996a8dfb5e13aaf31472b7574c58c6ac3b165d4
parent13ad04719e292a2bee7e1b3155da74a97921c035
Additional error checking for glTexImageXD.
Only allow 1D and 2D GL_DEPTH_COMPONENT textures.
Make sure internal format and user format are in same catagory.
src/mesa/main/teximage.c