st/mesa: fix glReadBuffer(GL_NONE) segfault
authorBrian Paul <brianp@vmware.com>
Thu, 23 Jan 2014 16:47:34 +0000 (09:47 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jan 2014 18:08:40 +0000 (11:08 -0700)
commitf7c118ffbfdafaccd4ec05d4a040d07e120c5090
tree1c7ac5a97860ca6be8cbe4196a76c6d507d11be7
parent349efdbba141dc64a2b8f6beb481b9f3d7da6d7d
st/mesa: fix glReadBuffer(GL_NONE) segfault

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73956
Cc: 10.0 <mesa-stable@lists.freedesktop.org>
Tested-by: Ahmed Allam <ahmabdabd@hotmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_fbo.c