tavli

annotate src/opengl.c @ 22:c2a2069a49ec

slot highlighting, TODO blur
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 07 Jul 2015 21:56:37 +0300
parents 986c0b76513f
children
rev   line source
nuclear@16 1 #include "opengl.h"
nuclear@16 2
nuclear@16 3 struct GLCaps glcaps;
nuclear@16 4
nuclear@16 5 int init_opengl()
nuclear@16 6 {
nuclear@16 7 glewInit();
nuclear@16 8
nuclear@16 9 glcaps.shaders = GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader;
nuclear@16 10 glcaps.fsaa = GLEW_ARB_multisample;
nuclear@16 11 glcaps.sep_spec = GLEW_EXT_separate_specular_color;
nuclear@18 12 glcaps.fbo = GLEW_ARB_framebuffer_object;
nuclear@19 13 glcaps.shadow = GLEW_ARB_shadow | GLEW_SGIX_shadow;
nuclear@16 14
nuclear@16 15 return 0;
nuclear@16 16 }