mesa: new glTexImage error checks for GL_ARB_texture_storage
authorBrian Paul <brianp@vmware.com>
Mon, 31 Oct 2011 16:52:56 +0000 (10:52 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 31 Oct 2011 16:52:56 +0000 (10:52 -0600)
commita0d736b3b7c325ab0295da3b0e3b92d170b44261
tree623c4de8062ab771195ed2eea729952de5ae8fcf
parentfbc419314e9d1f06d624d8e3997394db7f829f63
mesa: new glTexImage error checks for GL_ARB_texture_storage

If the texture memory was allocated with glTexStorage1/2/3D() we can
only change the image data with glTexSubImage calls.
src/mesa/main/teximage.c