mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Merge with develop
This commit is contained in:
parent
d865dc5a70
commit
328da50ed2
1 changed files with 1 additions and 4 deletions
|
@ -490,7 +490,6 @@ bool CDriverGL::unInit()
|
|||
|
||||
#elif defined(NL_OS_MAC)
|
||||
|
||||
// nothing to do
|
||||
[_autoreleasePool release];
|
||||
|
||||
#elif defined (NL_OS_UNIX)
|
||||
|
@ -1460,7 +1459,7 @@ bool CDriverGL::createWindow(const GfxMode &mode)
|
|||
pos = 0;
|
||||
hwndParent = NULL;
|
||||
}
|
||||
window = CreateWindowW(L"NLClass", L"NeL Window", dwStyle,
|
||||
window = CreateWindowW(L"NLClass", L"NeL Window", dwStyle,
|
||||
pos, pos, mode.Width, mode.Height, hwndParent, NULL, GetModuleHandle(NULL), NULL);
|
||||
|
||||
if (window == EmptyWindow)
|
||||
|
@ -1677,8 +1676,6 @@ bool CDriverGL::destroyWindow()
|
|||
[[containerView() window] release];
|
||||
[containerView() release];
|
||||
[_glView release];
|
||||
|
||||
[_autoreleasePool release];
|
||||
}
|
||||
|
||||
_ctx = nil;
|
||||
|
|
Loading…
Reference in a new issue