summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-03-16 09:31:13 -0600
committerBrian Paul <[email protected]>2012-03-17 16:15:59 -0600
commit03f8a97d718502f60d16000aead251d88a751149 (patch)
tree3cc334988a4eb13ac591f3c03bd6fe8d315e147a /src/gallium/drivers
parentc3fe44c5f9e8e99059d2fe4d85f24cdae89875e2 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions