summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texcombine.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-01 16:06:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-01 16:06:25 +0000
commitb0a0ca8bd9edc13e495a39709cc28953dd3fbd9c (patch)
treedc69a943bbabf6a4c0b5dcff908f512a37a1f5a4 /src/mesa/swrast/s_texcombine.c
parent0899afae33a29d1f6d15ebc96dc6ea8a8371cdb6 (diff)
GL_EXT_packed_depth_stencil changes
Diffstat (limited to 'src/mesa/swrast/s_texcombine.c')
-rw-r--r--src/mesa/swrast/s_texcombine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texcombine.c b/src/mesa/swrast/s_texcombine.c
index 2bdd4efaa2..0f662c3d2b 100644
--- a/src/mesa/swrast/s_texcombine.c
+++ b/src/mesa/swrast/s_texcombine.c
@@ -748,7 +748,7 @@ texture_apply( const GLcontext *ctx,
if (format == GL_COLOR_INDEX || format == GL_YCBCR_MESA) {
format = GL_RGBA; /* a bit of a hack */
}
- else if (format == GL_DEPTH_COMPONENT) {
+ else if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL_EXT) {
format = texUnit->_Current->DepthMode;
}