projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c06f8cb
)
Fix loop for quads-as-triangles.
author
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 13 Jan 2005 15:58:05 +0000
(15:58 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 13 Jan 2005 15:58:05 +0000
(15:58 +0000)
src/mesa/tnl_dd/t_dd_dmatmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_dmatmp.h
b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 6549041051320871dae270601be063cbe94de33c..d274ead2c2756c4f3ac3cba2c6241539bcfbae72 100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/
src/mesa/tnl_dd/t_dd_dmatmp.h
@@
-623,7
+623,7
@@
static void TAG(render_quads_verts)( GLcontext *ctx,
INIT(GL_TRIANGLES);
- for (j = start; j < count; j += 4) {
+ for (j = start; j < count
-3
; j += 4) {
void *tmp = ALLOC_VERTS( 6 );
/* Send v0, v1, v3
*/
@@
-1236,7
+1236,7
@@
static GLboolean TAG(validate_render)( GLcontext *ctx,
ok = (GLint) count < GET_SUBSEQUENT_VB_MAX_ELTS();
}
else {
- ok = HAVE_TRIANGLES; /* f
or gears..
. */
+ ok = HAVE_TRIANGLES; /* f
latshading is ok
. */
}
break;
default: