X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fdeviceinfo.cpp;h=93297a790974b23479c165b9b576d6fdf6220576;hp=54cb88b43182b616b41a569d73c8306092da260c;hb=6353307898cd397e2bcde13e2448a8a678a60004;hpb=cd5f37b066352119cf92d53d0001af7ff99be437 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()