diff options
author | Roland Scheidegger <[email protected]> | 2010-05-17 21:33:27 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-17 21:33:27 +0200 |
commit | 48780ec9f99d7af4e98614be597adc3534d6918c (patch) | |
tree | 0c7a4ae460bf5c4b9307296c9c540bbeedc1bf09 /src/gallium/state_trackers/xorg/xorg_dri2.c | |
parent | 8bd87b662f70070686fdfbea36f3660bd2586e32 (diff) |
st/xorg: adapt to interface changes
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_dri2.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_dri2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index b90f9c908d2..35741f86842 100644 --- a/src/gallium/state_trackers/xorg/xorg_dri2.c +++ b/src/gallium/state_trackers/xorg/xorg_dri2.c @@ -437,10 +437,12 @@ xorg_dri2_init(ScreenPtr pScreen) ms->d_depth_bits_last = ms->screen->is_format_supported(ms->screen, PIPE_FORMAT_Z24X8_UNORM, PIPE_TEXTURE_2D, + 0, PIPE_BIND_DEPTH_STENCIL, 0); ms->ds_depth_bits_last = ms->screen->is_format_supported(ms->screen, PIPE_FORMAT_Z24_UNORM_S8_USCALED, PIPE_TEXTURE_2D, + 0, PIPE_BIND_DEPTH_STENCIL, 0); return DRI2ScreenInit(pScreen, &dri2info); |