mesa/src
Brian Paul 57a273d89b st/mesa: add null pointer check in st_texture_image_map()
If we failed to allocate a memory resource for the texture we'd crash
when we tried to map it.  Now we propogate the NULL back up to the
texstore code and generate GL_OUT_OF_MEMORY.

Fixes a crash with the upcoming piglit max-texture-size test.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit 03f8a97d71)
2012-07-06 10:08:59 -07:00
..
egl egl: fix uninitialized values 2012-04-29 11:22:34 +00:00
gallium draw: Ensure that prepare is always run after LLVM garbagge collection. 2012-07-06 10:08:59 -07:00
gbm gbm: fix copy & paste error in gbm_bo_get_handle documentation 2012-01-25 12:24:51 -05:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Fix pi/2 constant in acos built-in function 2012-07-06 10:03:54 -07:00
glu glu: fix two Clang warnings 2012-07-06 09:47:42 -07:00
glx glx: Handle a null reply in QueryVersion. 2012-07-06 10:00:46 -07:00
mapi glapi: Correct size of allocated _glapi_table struct 2012-04-22 20:41:04 -07:00
mesa st/mesa: add null pointer check in st_texture_image_map() 2012-07-06 10:08:59 -07:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00