Populate WriteMonoDepthSpan in 24/8 modes.
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 14 Jan 2005 13:01:21 +0000 (13:01 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 14 Jan 2005 13:01:21 +0000 (13:01 +0000)
src/mesa/drivers/dri/unichrome/via_span.c

index 7a4eab6b85df0b155de9adc0c9b4baff5eff4761..c45322770c4927f94cf7b94863a3bfc5155a00ec 100644 (file)
@@ -233,6 +233,7 @@ void viaInitSpanFuncs(GLcontext *ctx)
     else if (vmesa->glCtx->Visual.depthBits == 24) {
         swdd->ReadDepthSpan = viaReadDepthSpan_24_8;
        swdd->WriteDepthSpan = viaWriteDepthSpan_24_8;
+       swdd->WriteMonoDepthSpan = viaWriteMonoDepthSpan_24_8;
        swdd->ReadDepthPixels = viaReadDepthPixels_24_8;
        swdd->WriteDepthPixels = viaWriteDepthPixels_24_8;