X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fdeviceinfo_backend.cpp;h=df085dc76e91a00e62c3111c24fc2e4f2c9cc162;hb=4365124bd39bd6edbda6eaef64ec72a1a10565f8;hp=30eeb0327e9cb1c8b61f210a742f9ac376886d42;hpb=0a359a7508a0117b055b72bcb7dc42ddcb2ed5f9;p=libs%2Fgl.git diff --git a/source/backends/opengl/deviceinfo_backend.cpp b/source/backends/opengl/deviceinfo_backend.cpp index 30eeb032..df085dc7 100644 --- a/source/backends/opengl/deviceinfo_backend.cpp +++ b/source/backends/opengl/deviceinfo_backend.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include "deviceinfo.h" @@ -34,6 +35,8 @@ Limits::Limits() glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, reinterpret_cast(&max_uniform_bindings)); glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast(&uniform_buffer_alignment)); } + if(EXT_texture_filter_anisotropic) + glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY, &max_anisotropy); }