summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2009-12-14 18:36:33 +0100
committerRoland Scheidegger <[email protected]>2009-12-14 18:36:33 +0100
commita0127b6ced257919180ba3a1bf534b68d9c750be (patch)
tree2b7393c210947a009b654c07da9c4732cc51bade /src/gallium/auxiliary/draw/draw_pt.c
parenta08e348a84f57ed5e8bf5888f1ce13934d2ce8fa (diff)
gallium: more work for edgeflags changes
fixes, cleanups, etc. not working yet
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 139ae1fe552..2801dbafe47 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -314,14 +314,3 @@ draw_arrays(struct draw_context *draw, unsigned prim,
/* drawing done here: */
draw_pt_arrays(draw, prim, start, count);
}
-
-boolean draw_pt_get_edgeflag( struct draw_context *draw,
- unsigned idx )
-{
- if (draw->pt.user.edgeflag) {
- float *ef = draw->pt.verted_buffer[idx]
- return (draw->pt.user.edgeflag[idx/32] & (1 << (idx%32))) != 0;
- }
- else
- return 1;
-}