main: Fix an error generated by FramebufferTexture
authorLaura Ekstrand <laura@jlekstrand.net>
Mon, 20 Apr 2015 15:21:20 +0000 (17:21 +0200)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:12 +0000 (15:48 +0200)
commit69bdc9dcb8e5d3648e8d96029d5988b8971de8dc
tree22bcfd24203d0f0560a32dce71f07b7682a47074
parent8ba7ad8abc7d71131e17970203c991ccb1befbe6
main: Fix an error generated by FramebufferTexture

gl*FramebufferTexture should generate GL_INVALID_VALUE when the
texture doesn't exist.

[Fredrik: Split this change out from the next commit]

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-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