X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=ld42_outofspace;a=blobdiff_plain;f=src%2Fopengl.c;h=5c3ff4442f794c1871449ce773047555ae652e94;hp=7042514bc3131b32d8790d1a9a4e98de53398b0a;hb=b8200afc389ccca3e86463eb48c0563c0e093552;hpb=cf0e9a55d004e5339adc265b7ea6f41bae5c3cfe diff --git a/src/opengl.c b/src/opengl.c index 7042514..5c3ff44 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -15,6 +15,10 @@ int init_opengl(void) { glewInit(); + if(GLEW_EXT_texture_filter_anisotropic) { + glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &glcaps.max_aniso); + } + glcaps.debug = GLEW_ARB_debug_output; #ifndef NDEBUG