Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5098 | clevermous | 1 | #ifndef KOSGL_H |
2 | #define KOSGL_H |
||
3 | |||
4 | #include |
||
5 | #include |
||
6 | |||
7 | |||
8 | #ifdef __cplusplus |
||
9 | extern "C" { |
||
10 | #endif |
||
11 | |||
12 | typedef void *KOSGLContext; |
||
13 | |||
14 | extern KOSGLContext kosglCreateContext( KOSGLContext shareList, int flags ); |
||
15 | |||
16 | extern void kosglDestroyContext( KOSGLContext ctx1 ); |
||
17 | |||
18 | extern int kosglMakeCurrent( int win_x0, int win_y0, |
||
19 | int win_x, int win_y, |
||
20 | KOSGLContext ctx); |
||
21 | |||
22 | extern void kosglSwapBuffers(); |
||
23 | |||
24 | #ifdef __cplusplus |
||
25 | } |
||
26 | #endif |
||
27 | |||
28 | #endif |