X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.cpp;h=93297a790974b23479c165b9b576d6fdf6220576;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=54cb88b43182b616b41a569d73c8306092da260c;hpb=2d3113a7dbbe4be2f1d1e8980c1c4e42175163da;p=libs%2Fgl.git diff --git a/source/core/deviceinfo.cpp b/source/core/deviceinfo.cpp index 54cb88b4..93297a79 100644 --- a/source/core/deviceinfo.cpp +++ b/source/core/deviceinfo.cpp @@ -12,6 +12,7 @@ Limits::Limits() glGetIntegerv(GL_MAX_CLIP_PLANES, reinterpret_cast(&max_clip_planes)); glGetIntegerv(GL_MAX_SAMPLES, reinterpret_cast(&max_samples)); glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast(&uniform_buffer_alignment)); + glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS, reinterpret_cast(&max_color_attachments)); } const Limits &Limits::get_global()