mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Removed superfluous window struct member clearing.
This commit is contained in:
parent
0641a6ec9a
commit
c0b5ad8896
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user