mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Initial drag and drop support.
This commit is contained in:
@@ -98,7 +98,7 @@ static GLboolean initLibraries(void)
|
||||
_glfw.win32.dwmapi.DwmIsCompositionEnabled = (DWMISCOMPOSITIONENABLED_T)
|
||||
GetProcAddress(_glfw.win32.dwmapi.instance, "DwmIsCompositionEnabled");
|
||||
}
|
||||
|
||||
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
@@ -214,6 +214,9 @@ int _glfwPlatformInit(void)
|
||||
|
||||
if (!_glfwInitContextAPI())
|
||||
return GL_FALSE;
|
||||
|
||||
_glfw.win32.dropString = (char*)malloc(1000);
|
||||
_glfw.win32.dropStringSize = 1000;
|
||||
|
||||
_glfwInitTimer();
|
||||
_glfwInitJoysticks();
|
||||
|
||||
Reference in New Issue
Block a user