#Fixed problem in glut.h causing conflict when linking the library against c++ programs

This commit is contained in:
U-PH3NOM-PC\PH3NOM 2014-08-17 15:03:16 -07:00
parent aca082fa8b
commit 9dde472293

View File

@ -9,6 +9,9 @@
#ifndef __GL_GLUT_H
#define __GL_GLUT_H
#include <sys/cdefs.h>
__BEGIN_DECLS
#include <GL/gl.h>
/* Flush the Submitted Primitive Data to the GPU for render to screen */
@ -22,4 +25,6 @@ GLAPI void APIENTRY glutSwapBuffersToTexture(void *dst, GLsizei *x, GLsizei *y);
next frame rendered */
GLAPI void APIENTRY glutCopyBufferToTexture(void *dst, GLsizei *x, GLsizei *y);
__END_DECLS
#endif /* !__GL_GLUT_H */