projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cdaa9
)
Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't
author
Eric Anholt
<anholt@FreeBSD.org>
Fri, 8 Oct 2004 22:21:09 +0000
(22:21 +0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Fri, 8 Oct 2004 22:21:09 +0000
(22:21 +0000)
be used in that case, and it wanting WRITE_DEPTH was making r128 die on
the undefined symbol.
src/mesa/drivers/dri/common/depthtmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/depthtmp.h
b/src/mesa/drivers/dri/common/depthtmp.h
index cb3f66fde441056847e6cd27c9759c89b62c027c..d8b8775ae99768348d5efb006c0deb1ee67ac105 100644
(file)
--- 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,