summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c2
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_state.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c b/src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c
index 71e74381a5a..3b9e51235c2 100644
--- a/src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c
+++ b/src/mesa/drivers/dri/radeon/radeon_vtxfmt_sse.c
@@ -39,7 +39,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "radeon_vtxfmt.h"
#if defined(USE_SSE_ASM)
-#include "X86/common_x86_asm.h"
+#include "x86/common_x86_asm.h"
#define EXTERN( FUNC ) \
extern const char *FUNC; \
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_state.c b/src/mesa/drivers/dri/tdfx/tdfx_state.c
index bab3854a7c4..5372558cdf1 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_state.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_state.c
@@ -40,6 +40,7 @@
#include "colormac.h"
#include "texformat.h"
#include "texstore.h"
+#include "teximage.h"
#include "swrast/swrast.h"
#include "array_cache/acache.h"
@@ -877,7 +878,7 @@ void tdfxUpdateViewport( GLcontext *ctx )
m[MAT_SZ] = v[MAT_SZ];
m[MAT_TZ] = v[MAT_TZ];
- fxMesa->SetupNewInputs |= VERT_BIT_CLIP;
+ fxMesa->SetupNewInputs |= VERT_BIT_POS;
}