xglcomp
annotate src/opengl.h @ 6:3f908f812ec7
added docs
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 29 Jan 2016 10:23:08 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@2 | 1 #ifndef OPENGL_H_ |
nuclear@2 | 2 #define OPENGL_H_ |
nuclear@2 | 3 |
nuclear@2 | 4 #include <GL/gl.h> |
nuclear@2 | 5 #include <GL/glx.h> |
nuclear@2 | 6 #include <X11/Xlib.h> |
nuclear@2 | 7 |
nuclear@2 | 8 GLXContext create_gl(Window xwin); |
nuclear@2 | 9 void destroy_gl(GLXContext ctx); |
nuclear@2 | 10 |
nuclear@2 | 11 #endif // OPENGL_H_ |