summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glut/ggi/ggiglut.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/glut/ggi/ggiglut.c b/src/glut/ggi/ggiglut.c
index 9c5ad0c7bf5..2fe65a154c7 100644
--- a/src/glut/ggi/ggiglut.c
+++ b/src/glut/ggi/ggiglut.c
@@ -38,7 +38,6 @@
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
-#include <malloc.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
@@ -404,8 +403,8 @@ void glutPostWindowRedisplay(int win)
void glutSwapBuffers(void)
{
GGIGLUTDPRINT_CORE("glutSwapBuffers() called\n");
-
- GGIMesaSwapBuffers();
+
+ ggiMesaSwapBuffers();
}
void glutIdleFunc(void (*idle)(void))