mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Made glfwGetProcAddress return a function pointer.
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user