diff options
author | Michal Krol <[email protected]> | 2009-12-03 10:12:47 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-03 10:12:47 +0100 |
commit | d28740c298968303500a8c43047ded2679e727ac (patch) | |
tree | bb20439f6040083d94fbc21f71a32fcc3f13eae4 /src/gallium/state_trackers/xorg | |
parent | 3400b668e35469d5dbba515e3a8b9d775fd2eff5 (diff) |
Move pf_is_depth_stencil() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_dri2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index 2394f004d25..36711609d2f 100644 --- a/src/gallium/state_trackers/xorg/xorg_dri2.c +++ b/src/gallium/state_trackers/xorg/xorg_dri2.c @@ -40,6 +40,7 @@ #include "pipe/p_state.h" #include "pipe/p_inlines.h" +#include "util/u_format.h" #include "util/u_rect.h" /* Make all the #if cases in the code esier to read */ @@ -92,7 +93,7 @@ dri2_do_create_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, unsigned int form case 9: #endif if (exa_priv->depth_stencil_tex && - !pf_is_depth_stencil(exa_priv->depth_stencil_tex->format)) + !util_format_is_depth_or_stencil(exa_priv->depth_stencil_tex->format)) exa_priv->depth_stencil_tex = NULL; /* Fall through */ case DRI2BufferDepth: |