summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-04-23 09:57:11 -0600
committerBrian Paul <[email protected]>2014-04-24 08:16:01 -0600
commit1a7fa8b2ebad2e07f57a430c8c77558bb07b0151 (patch)
tree872d15030304aceed0007e02b2eab7ccdcfe1f09 /include
parent5e81e6e268a4bdfa0017f9e340101c1d5696aea3 (diff)
swrast: move null pointer check earlier in _swrast_map_teximage()
There's no reason to compute texel size, stride, etc. if there's no image data to map. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions