mesa/src
Eric Anholt 5c99697f74 mesa: Fix segfault on reading from a missing color read buffer.
The diff looks funny, but it's moving the integer vs non-integer check
below the _mesa_source_buffer_exists() check that ensures
_ColorReadBuffer is non-null, so we get a GL_INVALID_OPERATION instead
of a segfault.  This looks like it had regressed in the
_mesa_error_check_format_and_type() changes, which removed the first of
the two duplicated checks for the source buffer.  Fixes segfault in the
new piglit ARB_framebuffer_object/negative-readpixels-no-rb.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45877
NOTE: This is a candidate for the stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-11-17 12:55:54 -08:00
..
egl Remove OpenVMS support 2012-11-16 10:01:46 +01:00
gallium st/vdpau: Fix vlVdpVideoSurfaceSize for interlaced buffers 2012-11-17 13:25:08 +01:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl glcpp: Don't define macros for extensions that aren't in ES 2012-11-15 15:21:28 -08:00
glx mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi glapi: Stop handling XML annotation exec="{es,check,loopback}". 2012-11-12 10:53:58 -08:00
mesa mesa: Fix segfault on reading from a missing color read buffer. 2012-11-17 12:55:54 -08:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00