summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Taylor <[email protected]>2001-01-03 02:43:46 +0000
committerJon Taylor <[email protected]>2001-01-03 02:43:46 +0000
commitc1d89d43916933237ed40d5f70739c3c04393924 (patch)
treefb2e3ed6174bc752011f913017ced68bfbe372fa
parenta580e1adb7c85711338c23a6703dfe82acbc8310 (diff)
Added missing #include "mmath.h"
-rw-r--r--src/mesa/drivers/ggi/default/stubs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/ggi/default/stubs.c b/src/mesa/drivers/ggi/default/stubs.c
index 8730088348b..07999276fbf 100644
--- a/src/mesa/drivers/ggi/default/stubs.c
+++ b/src/mesa/drivers/ggi/default/stubs.c
@@ -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;
}