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:
8d88f82
)
fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:00:44 +0000
(18:00 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:00:44 +0000
(18:00 +0000)
src/mesa/tnl_dd/t_dd_tritmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_tritmp.h
b/src/mesa/tnl_dd/t_dd_tritmp.h
index
055ee55
..
a483dbb
100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_tritmp.h
+++ b/
src/mesa/tnl_dd/t_dd_tritmp.h
@@
-584,7
+584,7
@@
static void TAG(quad)( GLcontext *ctx,
VERT_Z_ADD(v[2], offset);
VERT_Z_ADD(v[3], offset);
}
- RASTERIZE( GL_
TRIANGLE
S );
+ RASTERIZE( GL_
QUAD
S );
if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) {
SETUP_STENCIL(facing);
QUAD( (v[0]), (v[1]), (v[2]), (v[3]) );