50 # define APIENTRYP APIENTRY * 61 #define GL_TEXTURE0 0x84C0 62 #define GL_CLAMP_TO_EDGE 0x812F 63 #define GL_BGRA 0x80E1 69 #define glActiveTexture ((type_glActiveTexture)QGLContext::currentContext()->getProcAddress(QLatin1String("glActiveTexture"))) 70 #define glGenerateMipmap ((type_glGenerateMipmap)QGLContext::currentContext()->getProcAddress(QLatin1String("glGenerateMipmap"))) 71 #define glVertexAttribPointer ((type_glVertexAttribPointer)QGLContext::currentContext()->getProcAddress(QLatin1String("glVertexAttribPointer"))) 75 #endif // GLFUNCTIONS_H