Mesa (gallium-0.2): move glut.h include
Brian Paul
brianp at kemper.freedesktop.org
Wed Oct 29 01:01:56 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 54d684f23d3fb723d7f226b5ce093248476ab26a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54d684f23d3fb723d7f226b5ce093248476ab26a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Tue Oct 28 19:01:38 2008 -0600
move glut.h include
---
progs/vp/vp-tris.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c
index 58014dd..e1ddb2e 100644
--- a/progs/vp/vp-tris.c
+++ b/progs/vp/vp-tris.c
@@ -5,7 +5,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include <GL/glut.h>
#ifndef WIN32
#include <unistd.h>
@@ -15,6 +14,8 @@
#include <GL/glext.h>
#endif
+#include <GL/glut.h>
+
#ifdef WIN32
static PFNGLBINDPROGRAMARBPROC glBindProgramARB = NULL;
static PFNGLGENPROGRAMSARBPROC glGenProgramsARB = NULL;
More information about the mesa-commit
mailing list