build fixes
authorAlan Hourihane <alanh@tungstengraphics.com>
Thu, 4 Dec 2003 16:57:43 +0000 (16:57 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Thu, 4 Dec 2003 16:57:43 +0000 (16:57 +0000)
src/mesa/drivers/dri/ffb/ffb_state.c
src/mesa/drivers/dri/ffb/ffb_tex.c

index ba9bab9886af6452efeb93f8aeb6575c91bb29de..5a56c945ca1403517314f91b6c942f1ad9469e86 100644 (file)
@@ -445,7 +445,7 @@ void ffbCalcViewport(GLcontext *ctx)
 
        ffbCalcViewportRegs(ctx);
 
-       fmesa->setupnewinputs |= VERT_BIT_CLIP;
+       fmesa->setupnewinputs |= VERT_BIT_POS;
 }
 
 static void ffbDDViewport(GLcontext *ctx, GLint x, GLint y,
index ba1103e2e529774bd98871a249639f1f3b1d1dc1..4fe5dea96ab59d6ca6a28c9fe6b96c332f2de430 100644 (file)
@@ -28,6 +28,7 @@
 #include <GL/gl.h>
 #include "texformat.h"
 #include "texstore.h"
+#include "teximage.h"
 #include "swrast/swrast.h"
 
 #include "ffb_tex.h"