tavli

view src/opengl.c @ 16:d6209903454b

opengl capabilities
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 08:48:25 +0300
parents
children 986c0b76513f
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;
13 return 0;
14 }