Fix compilation inside the new kos-ports tree.

This commit is contained in:
Lawrence Sebald 2015-05-08 22:35:16 -04:00
parent 763ec99483
commit 25ba67b9b1
2 changed files with 6 additions and 2 deletions

View File

@ -15,10 +15,12 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
#ifndef BUILD_LIBGL
#include <GL/gl.h>
#endif
#define GLU_FALSE GL_FALSE
#define GLU_TRUE GL_TRUE
#define GLU_FALSE 0
#define GLU_TRUE 1
/* Mip-Mapped Textures MUST be square or rectangle */
GLAPI GLint APIENTRY gluBuild2DMipmaps(GLenum target, GLint internalFormat,

View File

@ -12,7 +12,9 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
#ifndef BUILD_LIBGL
#include <GL/gl.h>
#endif
/* Flush the Submitted Primitive Data to the GPU for render */
GLAPI void APIENTRY glutSwapBuffers();