summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-04 16:57:43 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-04 16:57:43 +0000
commit21a218f5bf18255c3f4db50a1fe232dc5eccf442 (patch)
tree1d709f35666ef3cca4aeb6702aac84e7764960bc /src/mesa
parent164c703e98e5e2e195b6ca124a8a91913645a6ab (diff)
build fixes
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_state.c2
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_tex.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_state.c b/src/mesa/drivers/dri/ffb/ffb_state.c
index ba9bab9886..5a56c945ca 100644
--- a/src/mesa/drivers/dri/ffb/ffb_state.c
+++ b/src/mesa/drivers/dri/ffb/ffb_state.c
@@ -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,
diff --git a/src/mesa/drivers/dri/ffb/ffb_tex.c b/src/mesa/drivers/dri/ffb/ffb_tex.c
index ba1103e2e5..4fe5dea96a 100644
--- a/src/mesa/drivers/dri/ffb/ffb_tex.c
+++ b/src/mesa/drivers/dri/ffb/ffb_tex.c
@@ -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"