[osg-users] [GL ES2] Compilation errors on master branch

Jean Baptiste Poquelin coudboule at yahoo.fr
Fri May 8 05:41:47 PDT 2015

I don't see a solution to this problem. In the meantime, here is what I do:


#if !defined(GL_VERSION_3_1)
    #ifdef _WIN32
        typedef          __int64 GLint64;
        typedef unsigned __int64 GLuint64;
        #ifndef GL_ES_VERSION_2_0
            typedef long long int GLint64;
            typedef unsigned long long int GLuint64;

It does not make sense because GLint64 and GLuint64 are not always defined when GL_ES_VERSION_2_0 is defined, but at least it works on my machine. I tried to use a mesa version number or something that would indicate its API status but could not find any.


Read this topic online here:

More information about the osg-users mailing list