]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/deviceinfo.cpp
Clean up includes and forward declarations for the core classes
[libs/gl.git] / source / core / deviceinfo.cpp
index 54cb88b43182b616b41a569d73c8306092da260c..acbd0a73e7eeb1e44831860729af262fca065987 100644 (file)
@@ -1,3 +1,8 @@
+#include <msp/gl/extensions/arb_uniform_buffer_object.h>
+#include <msp/gl/extensions/arb_vertex_shader.h>
+#include <msp/gl/extensions/ext_framebuffer_multisample.h>
+#include <msp/gl/extensions/msp_clipping.h>
+#include <msp/gl/extensions/nv_fbo_color_attachments.h>
 #include "deviceinfo.h"
 #include "gl.h"
 
@@ -12,6 +17,7 @@ Limits::Limits()
        glGetIntegerv(GL_MAX_CLIP_PLANES, reinterpret_cast<int *>(&max_clip_planes));
        glGetIntegerv(GL_MAX_SAMPLES, reinterpret_cast<int *>(&max_samples));
        glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast<int *>(&uniform_buffer_alignment));
+       glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS, reinterpret_cast<int *>(&max_color_attachments));
 }
 
 const Limits &Limits::get_global()