diff --git a/src/glimports.h b/src/glimports.h index eea67ff6..bd36bc7d 100644 --- a/src/glimports.h +++ b/src/glimports.h @@ -505,6 +505,7 @@ GL_IMPORT_NV___(true, PFNGLGENQUERIESPROC, glGenQueries) GL_IMPORT_NV___(true, PFNGLDELETEQUERIESPROC, glDeleteQueries); GL_IMPORT_NV___(true, PFNGLBEGINQUERYPROC, glBeginQuery); GL_IMPORT_NV___(true, PFNGLENDQUERYPROC, glEndQuery); +GL_IMPORT_NV___(true, PFNGLGETQUERYOBJECTIVPROC, glGetQueryObjectiv); GL_IMPORT_NV___(true, PFNGLGETQUERYOBJECTUI64VPROC, glGetQueryObjectui64v); GL_IMPORT (true, PFNGLINVALIDATEFRAMEBUFFERPROC, glInvalidateFramebuffer, glDiscardFramebufferEXT); @@ -567,6 +568,7 @@ GL_IMPORT______(true, PFNGLGENQUERIESPROC, glGenQueries) GL_IMPORT______(true, PFNGLDELETEQUERIESPROC, glDeleteQueries); GL_IMPORT______(true, PFNGLBEGINQUERYPROC, glBeginQuery); GL_IMPORT______(true, PFNGLENDQUERYPROC, glEndQuery); +GL_IMPORT______(true, PFNGLGETQUERYOBJECTIVPROC, glGetQueryObjectiv); GL_IMPORT______(true, PFNGLGETQUERYOBJECTUI64VPROC, glGetQueryObjectui64v); GL_IMPORT______(true, PFNGLDRAWARRAYSINDIRECTPROC, glDrawArraysIndirect); diff --git a/src/renderer_gl.h b/src/renderer_gl.h index 52a85c84..8a306314 100644 --- a/src/renderer_gl.h +++ b/src/renderer_gl.h @@ -393,6 +393,10 @@ typedef uint64_t GLuint64; # define GL_QUERY_RESULT 0x8866 #endif // GL_QUERY_RESULT +#ifndef GL_QUERY_RESULT_AVAILABLE +# define GL_QUERY_RESULT_AVAILABLE 0x8867 +#endif // GL_QUERY_RESULT_AVAILABLE + #ifndef GL_READ_FRAMEBUFFER # define GL_READ_FRAMEBUFFER 0x8CA8 #endif /// GL_READ_FRAMEBUFFER