Added missing #include "mmath.h"
authorJon Taylor <taylorj@ggi-project.org>
Wed, 3 Jan 2001 02:43:46 +0000 (02:43 +0000)
committerJon Taylor <taylorj@ggi-project.org>
Wed, 3 Jan 2001 02:43:46 +0000 (02:43 +0000)
src/mesa/drivers/ggi/default/stubs.c

index 8730088..0799927 100644 (file)
@@ -27,6 +27,7 @@
 #include <ggi/internal/ggi-dl.h>
 #include <ggi/mesa/ggimesa_int.h>
 
+#include "mmath.h"
 #include "swrast/swrast.h"
 #include "swrast_setup/swrast_setup.h"
 #include "swrast/s_context.h"
@@ -321,7 +322,7 @@ int GGIsetup_driver(GGIMesaContext ggictx, struct ggi_mesa_info *info)
 
 void GGIupdate_state(GLcontext *ctx)
 {
-       ctx->Driver.TriangleFunc = ggiGetTriangleFunc(ctx);
+       ctx->Driver.TriangleFunc = _swsetup_Triangle;
 }