mesa: Generate GL_INVALID_VALUE in framebuffer_texture when layer < 0
authorFredrik Höglund <fredrik@kde.org>
Sat, 9 May 2015 13:31:45 +0000 (15:31 +0200)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:12 +0000 (15:48 +0200)
commit8ba7ad8abc7d71131e17970203c991ccb1befbe6
tree6bacefe9d0efebc4e64190513ccda743d9d3c0ab
parentf9f5c822845698482d0d81eaa64bc13c2fd8852a
mesa: Generate GL_INVALID_VALUE in framebuffer_texture when layer < 0

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