vrseasons

view src/opengl.cc @ 2:eea1b91dc3d4

added is_complete() to framebuffer object and fixed GL_UNSUPPORTED_FRAMEBUFFER on intel
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 13 Apr 2015 16:51:52 +0300
parents
children
line source
1 #include "opengl.h"
3 void init_gl()
4 {
5 glewInit();
6 }
8 bool check_extension(const char *name)
9 {
10 return glewIsSupported(name);
11 }