dbf-halloween2015
view src/opengl.cc @ 4:4316c0c879e9
fixed RUN script for macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:18:18 +0200 |
parents | 50683c78264e |
children |
line source
1 #include "opengl.h"
3 struct GLCaps glcaps;
5 int init_opengl()
6 {
7 glewInit();
9 glcaps.shaders = GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader;
10 glcaps.fsaa = GLEW_ARB_multisample;
11 glcaps.sep_spec = GLEW_EXT_separate_specular_color;
12 glcaps.fbo = GLEW_ARB_framebuffer_object;
13 glcaps.shadow = GLEW_ARB_shadow | GLEW_SGIX_shadow;
15 return 0;
16 }