This is the QGL equivalent of commit
602cab9bb2072c5564bbb43c4125e04f98266043
Without this QGLExtensionMatcher causes stack corruption when using
a core profile GL context due to the call to glGetStringi() with
an incorrect calling convention.
Change-Id: Ibd86645e04df8c650c182fecfc8c481dae8a75b2
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
typedef ptrdiff_t qgl_GLintptr;
typedef ptrdiff_t qgl_GLsizeiptr;
+#if defined(APIENTRY) && !defined(QGLF_APIENTRY)
+# define QGLF_APIENTRY APIENTRY
+#endif
# ifndef QGLF_APIENTRYP
# ifdef QGLF_APIENTRY