xglcomp
diff src/opengl.h @ 2:876efea9424c
OpenGL
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 22 Jan 2016 06:31:03 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/opengl.h Fri Jan 22 06:31:03 2016 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +#ifndef OPENGL_H_ 1.5 +#define OPENGL_H_ 1.6 + 1.7 +#include <GL/gl.h> 1.8 +#include <GL/glx.h> 1.9 +#include <X11/Xlib.h> 1.10 + 1.11 +GLXContext create_gl(Window xwin); 1.12 +void destroy_gl(GLXContext ctx); 1.13 + 1.14 +#endif // OPENGL_H_