summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_texstate.c
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-05-09 15:23:34 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-13 19:06:24 -0400
commitca792be42b238bd1c8f8a99ad72ea8558cbbfc32 (patch)
treeff99a77dde2303f3b0f4e66193b72552393a1ddb /src/mesa/drivers/dri/radeon/radeon_texstate.c
parentea6a74abbe4053b958d640425e061f0ceec92291 (diff)
radeon: Don't crash generating mipmaps when pixels=NULL
When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_texstate.c')
0 files changed, 0 insertions, 0 deletions