summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_fbo.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2012-08-02 14:51:47 -0700
committerChad Versace <[email protected]>2012-08-07 09:30:33 -0700
commit8b5d68dd28a78c2250bfc4a7fa62cd9e5cdd756e (patch)
tree5178628b5b75c44b6785c30bb0f0c71c0786b341 /src/mesa/drivers/dri/intel/intel_fbo.c
parenta4bf68ca50da0ce291a464aec9b03a469ab2561a (diff)
intel: Clarify intel_screen_make_configs
This function felt sloppy, so this patch cleans it up a little bit. - Rename `color` to `i`. It is not a color value, only an iterator int. - Move `depth_bits[0] = 0` into the non-accum loop because that is where it used. The accum loop later overwrites depth_bits[0]. - Rename `depth_factor` to `num_depth_stencil_bits`. - Redefine `msaa_samples_array` as static const because it is never modified. Rename to `singlesample_samples`. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
0 files changed, 0 insertions, 0 deletions