summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/depthtmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/depthtmp.h b/src/mesa/drivers/dri/common/depthtmp.h
index cb3f66fde44..d8b8775ae99 100644
--- a/src/mesa/drivers/dri/common/depthtmp.h
+++ b/src/mesa/drivers/dri/common/depthtmp.h
@@ -64,6 +64,7 @@ static void TAG(WriteDepthSpan)( GLcontext *ctx,
HW_WRITE_UNLOCK();
}
+#if !HAVE_HW_DEPTH_SPANS
static void TAG(WriteMonoDepthSpan)( GLcontext *ctx,
GLuint n, GLint x, GLint y,
const GLdepth depth,
@@ -99,6 +100,7 @@ static void TAG(WriteMonoDepthSpan)( GLcontext *ctx,
}
HW_WRITE_UNLOCK();
}
+#endif
static void TAG(WriteDepthPixels)( GLcontext *ctx,
GLuint n,