vrseasons

annotate src/opengl.cc @ 0:393ef1143c9c

VR seasons
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 07 Apr 2015 11:16:56 +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 }