summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/ggi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/ggi')
-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;
}