projects
/
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 055ee559a04dfd85a6fb512e022151888c3224fa..a483dbb1de16dbbd8e979f276d70f2f9ee38f459 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]) );