nuclear@16: #include "opengl.h" nuclear@16: nuclear@16: struct GLCaps glcaps; nuclear@16: nuclear@16: int init_opengl() nuclear@16: { nuclear@16: glewInit(); nuclear@16: nuclear@16: glcaps.shaders = GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader; nuclear@16: glcaps.fsaa = GLEW_ARB_multisample; nuclear@16: glcaps.sep_spec = GLEW_EXT_separate_specular_color; nuclear@16: nuclear@16: return 0; nuclear@16: }