summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/ggi/default
diff options
context:
space:
mode:
authorJon Taylor <taylorj@ggi-project.org>2001-01-03 02:43:46 +0000
committerJon Taylor <taylorj@ggi-project.org>2001-01-03 02:43:46 +0000
commitc1d89d43916933237ed40d5f70739c3c04393924 (patch)
treefb2e3ed6174bc752011f913017ced68bfbe372fa /src/mesa/drivers/ggi/default
parenta580e1adb7c85711338c23a6703dfe82acbc8310 (diff)
Added missing #include "mmath.h"
Diffstat (limited to 'src/mesa/drivers/ggi/default')
-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 8730088348..07999276fb 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;
}