summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_copypix.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-22 22:25:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-22 22:25:46 +0000
commitec9bbac7c7f42261de9df6f4029d7e051ae9225c (patch)
treeb8a67f02244a66f54b41c9a5fe9a20c3c877a71a /src/mesa/swrast/s_copypix.c
parent0b26e826bda0da7aeec9a79ee07fe21d54bb1263 (diff)
silence used var warnings
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r--src/mesa/swrast/s_copypix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c
index ec04143214..761ab724e9 100644
--- a/src/mesa/swrast/s_copypix.c
+++ b/src/mesa/swrast/s_copypix.c
@@ -845,7 +845,8 @@ fast_copy_pixels(GLcontext *ctx,
srcRb = srcFb->_DepthBuffer;
dstRb = dstFb->_DepthBuffer;
}
- else if (type == GL_DEPTH_STENCIL_EXT) {
+ else {
+ ASSERT(type == GL_DEPTH_STENCIL_EXT);
/* XXX correct? */
srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer;
dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer;