kolibrios/programs/develop/libraries/TinyGL/include/kosgl.h
CleverMouse cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00

29 lines
529 B
C

#ifndef KOSGL_H
#define KOSGL_H
#include <GL/gl.h>
#include <GL/glu.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void *KOSGLContext;
extern KOSGLContext kosglCreateContext( KOSGLContext shareList, int flags );
extern void kosglDestroyContext( KOSGLContext ctx1 );
extern int kosglMakeCurrent( int win_x0, int win_y0,
int win_x, int win_y,
KOSGLContext ctx);
extern void kosglSwapBuffers();
#ifdef __cplusplus
}
#endif
#endif