X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fextension.cpp;h=51a84db695465038d0732df53f1d84c6e31cbb2c;hb=3e17c84968553e58cb09d397cafaead82e51d478;hp=b65172fc691dc4b71e8ba2d4c5dc6e03eac9bfa2;hpb=bdacc1cf89edcc8d8a00364aa20c9472744cd9ca;p=libs%2Fgl.git diff --git a/source/extension.cpp b/source/extension.cpp index b65172fc..51a84db6 100644 --- a/source/extension.cpp +++ b/source/extension.cpp @@ -12,6 +12,15 @@ #include "extension.h" #include "gl.h" +#ifndef GL_VERSION_3_0 +#define GL_NUM_EXTENSIONS 0x821D +#endif + +#ifndef GL_VERSION_3_2 +#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 +#define GL_CONTEXT_PROFILE_MASK 0x9126 +#endif + using namespace std; namespace Msp {