]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/uniformblock_backend.cpp
Block further inlining of a variable after component assignment
[libs/gl.git] / source / backends / opengl / uniformblock_backend.cpp
1 #include <msp/gl/extensions/arb_shader_objects.h>
2 #include <msp/gl/extensions/arb_uniform_buffer_object.h>
3 #include "uniformblock_backend.h"
4
5 namespace Msp {
6 namespace GL {
7
8 OpenGLUniformBlock::OpenGLUniformBlock(bool ubo)
9 {
10         static Require _req(ARB_shader_objects);
11         if(ubo)
12                 static Require _req2(ARB_uniform_buffer_object);
13 }
14
15 } // namespace GL
16 } // namespace Msp