vrseasons

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.cc	Tue Apr 07 11:16:56 2015 +0300
     1.3 @@ -0,0 +1,11 @@
     1.4 +#include "opengl.h"
     1.5 +
     1.6 +void init_gl()
     1.7 +{
     1.8 +	glewInit();
     1.9 +}
    1.10 +
    1.11 +bool check_extension(const char *name)
    1.12 +{
    1.13 +	return glewIsSupported(name);
    1.14 +}