Made glfwGetProcAddress return a function pointer.

This commit is contained in:
Camilla Berglund
2012-06-05 00:16:40 +02:00
parent bc8860dc6a
commit bf42c3cfbc
7 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -111,9 +111,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*) wglGetProcAddress(procname);
return wglGetProcAddress(procname);
}