Use GLFWglproc return type

This commit is contained in:
Jari Vetoniemi 2012-07-17 23:06:30 +03:00
parent db0a4b599d
commit 6b1344af3c

View File

@ -519,9 +519,9 @@ int _glfwPlatformExtensionSupported(const char* extension)
// Get the function pointer to an OpenGL function
//========================================================================
void* _glfwPlatformGetProcAddress(const char* procname)
GLFWglproc _glfwPlatformGetProcAddress(const char* procname)
{
return (void*) _glfw_eglGetProcAddress(procname);
return _glfw_eglGetProcAddress(procname);
}