GLdc/include/glut.h

26 lines
776 B
C
Raw Normal View History

/* KallistiGL for KallistiOS ##version##
libgl/glut.h
Copyright (C) 2014 Josh Pearson
Copyright (C) 2014 Lawrence Sebald
*/
#ifndef __GL_GLUT_H
#define __GL_GLUT_H
#include <GL/gl.h>
/* Flush the Submitted Primitive Data to the GPU for render to screen */
GLAPI void APIENTRY glutSwapBuffers();
/* Flush the Submitted Primitive Data to the GPU for render to texture */
GLAPI void APIENTRY glutSwapBuffersToTexture(void *dst, GLsizei *x, GLsizei *y);
/* Copy the Submitted Primitive Data to the GPU for render to texture */
/* This will leave the Vertex Data in the Main Buffer to be Flushed on the
next frame rendered */
GLAPI void APIENTRY glutCopyBufferToTexture(void *dst, GLsizei *x, GLsizei *y);
#endif /* !__GL_GLUT_H */