#Fixed problem in glut.h causing conflict when linking the library against c++ programs
This commit is contained in:
parent
aca082fa8b
commit
9dde472293
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user