vrseasons

annotate 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
rev   line source
nuclear@0 1 #include "opengl.h"
nuclear@0 2
nuclear@0 3 void init_gl()
nuclear@0 4 {
nuclear@0 5 glewInit();
nuclear@0 6 }
nuclear@0 7
nuclear@0 8 bool check_extension(const char *name)
nuclear@0 9 {
nuclear@0 10 return glewIsSupported(name);
nuclear@0 11 }