summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/drm
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-12-03 03:21:04 +0100
committerMarek Olšák <[email protected]>2012-12-07 14:19:28 +0100
commit985649b5963f2ad4bfe00abf573b1a53b28ed453 (patch)
tree03f8e180001e7380db17866aa71049e0a7612179 /src/gallium/state_trackers/dri/drm
parent39737e17e7a61535a35669756161005a7a5c887b (diff)
st/dri: refactor dri_fill_in_modes
- We can use a single loop for adding new configs. - The useless parameter depth_bits is removed. - The maximum number of samples is bumped to 32. - We can support Z16_UNORM and Z32_UNORM unconditionally since the zbuffers are private. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/drm')
-rw-r--r--src/gallium/state_trackers/dri/drm/dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c
index 0697399437b..eb5536ee279 100644
--- a/src/gallium/state_trackers/dri/drm/dri2.c
+++ b/src/gallium/state_trackers/dri/drm/dri2.c
@@ -776,7 +776,7 @@ dri2_init_screen(__DRIscreen * sPriv)
/* dri_init_screen_helper checks pscreen for us */
- configs = dri_init_screen_helper(screen, pscreen, 32);
+ configs = dri_init_screen_helper(screen, pscreen);
if (!configs)
goto fail;