diff options
author | Chad Versace <[email protected]> | 2012-07-09 16:51:23 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2012-08-01 10:33:38 -0700 |
commit | 2b4fbc4d7d3578642ca57b5e45094e66e03626fc (patch) | |
tree | c7c5b9247099c15ca63ef963645b1ec61e9b7231 /src/mesa/main/image.c | |
parent | 83fa0842ca0772e9a3493bd7a66f69c458a1739b (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/image.c')
0 files changed, 0 insertions, 0 deletions