summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2012-07-09 16:51:23 -0700
committerChad Versace <[email protected]>2012-08-01 10:33:38 -0700
commit2b4fbc4d7d3578642ca57b5e45094e66e03626fc (patch)
treec7c5b9247099c15ca63ef963645b1ec61e9b7231 /src/mesa/main/texgen.c
parent83fa0842ca0772e9a3493bd7a66f69c458a1739b (diff)
intel: Decrease nesting level in intelCreateBuffer
Nearly the whole function body was contained in the 'else' branch. The 'if' branch did one thing: return early with an error. Clean things up by moving all the code out of the 'else' branch. Decreases max nesting level from 4 to 3. Reviewed-by: Paul Berry <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/texgen.c')
0 files changed, 0 insertions, 0 deletions