summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-08-21 13:08:41 -0600
committerBrian Paul <[email protected]>2017-08-30 13:59:14 -0600
commit5610911fed0f03962807ff9eb79d99eb005a5d71 (patch)
treecf064f8beb49eec5a588861091d84e827f5f6a77 /src/mesa/main/texgen.c
parent350ead0f26fa300fcf67a0119840c6873846665e (diff)
svga: include sample count in surface_size() computation
Use MAX2() because sampleCount will be zero for non-MSAA surfaces. No Piglit regressions. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.c')
0 files changed, 0 insertions, 0 deletions