X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvertexarray.cpp;h=5674bbe0ddda48472cc0423b5230fe754710b3fc;hb=9dc2c20e8c7ac91d932b12492591b65786e24b0f;hp=db102ab4c355bbdb5e6a8d0e59f71021ea9d59f9;hpb=e0a2e7643f490bee69dfada6b029c8e02e6ede07;p=libs%2Fgl.git 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