summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/dri_drawable.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-09-02 15:41:41 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-09-02 15:41:41 +0200
commit0b26d97f4d48e5f7e5a4230a411e3a1d91928bb4 (patch)
tree61d925d3c4fd87f5a292cdbbbdadf99ea4ad497a /src/gallium/state_trackers/dri/dri_drawable.h
parent385620e5ebcbd5ee1fb4eaf75083ea540ac53955 (diff)
st/dri: Slight consolidation of DRI2 buffer handling.
Always use / assume a combined depth/stencil buffer. Also update drawable formats from surfaces returned by the driver.
Diffstat (limited to 'src/gallium/state_trackers/dri/dri_drawable.h')
-rw-r--r--src/gallium/state_trackers/dri/dri_drawable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri_drawable.h b/src/gallium/state_trackers/dri/dri_drawable.h
index 9f9cb29b97..b910930db4 100644
--- a/src/gallium/state_trackers/dri/dri_drawable.h
+++ b/src/gallium/state_trackers/dri/dri_drawable.h
@@ -63,8 +63,7 @@ struct dri_drawable
unsigned int cur_fences;
enum pipe_format color_format;
- enum pipe_format depth_format;
- enum pipe_format stencil_format;
+ enum pipe_format depth_stencil_format;
};
static INLINE struct dri_drawable *