Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef KOSGL_H
  2. #define KOSGL_H
  3.  
  4. #include <GL/gl.h>
  5. #include <GL/glu.h>
  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
  29.