forked from KolibriOS/kolibrios
e08c6968ef
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
523 B
C
29 lines
523 B
C
#ifndef KOSGL_H
|
|
#define KOSGL_H
|
|
|
|
#include "gl.h"
|
|
#include "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
|