projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce49c4c
)
gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to st_draw_vertices()
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:06:13 +0000
(17:06 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 13 Mar 2008 23:06:13 +0000
(17:06 -0600)
When pass-through mode is fully supported we'll clean this up more.
src/mesa/state_tracker/st_cb_clear.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_clear.c
b/src/mesa/state_tracker/st_cb_clear.c
index
4fe6195
..
5865071
100644
(file)
--- a/
src/mesa/state_tracker/st_cb_clear.c
+++ b/
src/mesa/state_tracker/st_cb_clear.c
@@
-259,7
+259,13
@@
draw_quad(GLcontext *ctx,
verts[i][1][3] = color[3];
}
- st_draw_vertices(ctx, PIPE_PRIM_QUADS, 4, (float *) verts, 2, GL_FALSE);
+ st_draw_vertices(ctx, PIPE_PRIM_POLYGON, 4, (float *) verts, 2,
+#if TEST_DRAW_PASSTHROUGH
+ GL_TRUE
+#else
+ GL_FALSE
+#endif
+ );
}