X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fvertexarray.cpp;h=5674bbe0ddda48472cc0423b5230fe754710b3fc;hp=db102ab4c355bbdb5e6a8d0e59f71021ea9d59f9;hb=bb162b9edd4b8c0e9faeed75da4148f5b9735450;hpb=d6ec375442b31d052b9fcb013508ad7523749147 diff --git a/source/vertexarray.cpp b/source/vertexarray.cpp index db102ab4..5674bbe0 100644 --- a/source/vertexarray.cpp +++ b/source/vertexarray.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "buffer.h" #include "error.h" #include "gl.h" @@ -123,6 +124,8 @@ void VertexArray::apply(bool use_legacy) const if(!use_legacy) static Require _req(ARB_vertex_shader); + else if(legacy) + static Require _req(MSP_legacy_features); const VertexArray *old = current(); /* If the array has been modified, apply it even if it was the last one to