diff options
author | Ted Jump <tjump@users.sourceforge.net> | 1999-09-19 02:03:18 +0000 |
---|---|---|
committer | Ted Jump <tjump@users.sourceforge.net> | 1999-09-19 02:03:18 +0000 |
commit | 725ec81ae80e024df4a5490405dbfbc598533e6e (patch) | |
tree | ac0115bd0729dea1f6ffde983f85e266b13e851e /src/mesa | |
parent | 1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df (diff) |
More Win32 build compliance fixups
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/feedback.c | 7 | ||||
-rw-r--r-- | src/mesa/main/stencil.c | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 433d0391e8..0fb09d0756 100644 --- a/src/mesa/main/feedback.c +++ b/src/mesa/main/feedback.c @@ -1,4 +1,4 @@ -/* $Id: feedback.c,v 1.2 1999/09/18 20:41:23 keithw Exp $ */ +/* $Id: feedback.c,v 1.3 1999/09/19 02:03:19 tjump Exp $ */ /* * Mesa 3-D graphics library @@ -39,6 +39,7 @@ #include "macros.h" #include "mmath.h" #include "types.h" +#include "triangle.h" #ifdef XFree86Server #include "GL/xf86glx.h" #endif @@ -203,7 +204,7 @@ static void gl_do_feedback_vertex( GLcontext *ctx, GLuint v, GLuint pv ) void gl_feedback_triangle( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint pv ) { - if (gl_cull_triangle( ctx, v0, v1, v2 )) { + if (gl_cull_triangle( ctx, v0, v1, v2, 0 )) { FEEDBACK_TOKEN( ctx, (GLfloat) (GLint) GL_POLYGON_TOKEN ); FEEDBACK_TOKEN( ctx, (GLfloat) 3 ); /* three vertices */ @@ -294,7 +295,7 @@ void gl_select_triangle( GLcontext *ctx, { struct vertex_buffer *VB = ctx->VB; - if (gl_cull_triangle( ctx, v0, v1, v2 )) { + if (gl_cull_triangle( ctx, v0, v1, v2, 0 )) { gl_update_hitflag( ctx, VB->Win.data[v0][3] / DEPTH_SCALE ); gl_update_hitflag( ctx, VB->Win.data[v1][3] / DEPTH_SCALE ); gl_update_hitflag( ctx, VB->Win.data[v2][3] / DEPTH_SCALE ); diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c index f03303de58..8bcced1fe7 100644 --- a/src/mesa/main/stencil.c +++ b/src/mesa/main/stencil.c @@ -1,4 +1,4 @@ -/* $Id: stencil.c,v 1.2 1999/09/18 20:41:23 keithw Exp $ */ +/* $Id: stencil.c,v 1.3 1999/09/19 02:03:19 tjump Exp $ */ /* * Mesa 3-D graphics library @@ -35,6 +35,7 @@ #include "pb.h" #include "stencil.h" #include "types.h" +#include "enable.h" #ifdef XFree86Server #include "GL/xf86glx.h" #endif |