mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Removed superfluous window struct member clearing.
This commit is contained in:
@@ -449,11 +449,6 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
|
||||
const _GLFWwndconfig *wndconfig,
|
||||
const _GLFWfbconfig *fbconfig)
|
||||
{
|
||||
window->NS.window = nil;
|
||||
window->NS.delegate = nil;
|
||||
window->NSGL.pixelFormat = nil;
|
||||
window->NSGL.context = nil;
|
||||
|
||||
// Fail if OpenGL 3.0 or above was requested
|
||||
if (wndconfig->glMajor > 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user