mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Implemented display iteration for win32 platform.
This commit is contained in:
@@ -164,6 +164,8 @@ int _glfwPlatformInit(void)
|
||||
_glfwLibrary.originalRampSize = 256;
|
||||
_glfwPlatformGetGammaRamp(&_glfwLibrary.originalRamp);
|
||||
|
||||
_glfwInitDisplays();
|
||||
|
||||
_glfwInitTimer();
|
||||
|
||||
return GL_TRUE;
|
||||
@@ -179,6 +181,8 @@ int _glfwPlatformTerminate(void)
|
||||
// Restore the original gamma ramp
|
||||
_glfwPlatformSetGammaRamp(&_glfwLibrary.originalRamp);
|
||||
|
||||
_glfwTerminateDisplays();
|
||||
|
||||
if (_glfwLibrary.Win32.classAtom)
|
||||
{
|
||||
UnregisterClass(_GLFW_WNDCLASSNAME, _glfwLibrary.Win32.instance);
|
||||
|
||||
Reference in New Issue
Block a user