main: Require that the texture exists in framebuffer_texture
authorFredrik Höglund <fredrik@kde.org>
Thu, 7 May 2015 18:28:23 +0000 (20:28 +0200)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:12 +0000 (15:48 +0200)
commitf9f5c822845698482d0d81eaa64bc13c2fd8852a
tree493023c0e028a44a36ec2b595e241574358c4173
parent8f78c6889d508d40c82229ea3fa09a78b4ea2e17
main: Require that the texture exists in framebuffer_texture

Generate GL_INVALID_OPERATION if the texture hasn't been created.

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
src/mesa/main/fbobject.c