1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Removed superfluous window struct member clearing.

This commit is contained in:
Camilla Berglund 2010-09-16 03:27:03 +02:00
parent 0641a6ec9a
commit c0b5ad8896

View File

@ -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)
{