mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Removed explicit release of window in Cocoa IVideo implementation
It caused a crash on older OS X like 10.5 and it absence doesn't lead to a memory leak
This commit is contained in:
parent
4662069b94
commit
51afe8a541
1 changed files with 0 additions and 6 deletions
|
@ -152,7 +152,6 @@ class CocoaVideo : public IVideo
|
|||
{
|
||||
public:
|
||||
explicit CocoaVideo(int multisample);
|
||||
~CocoaVideo();
|
||||
|
||||
virtual EDisplayType GetDisplayType() { return DISPLAY_Both; }
|
||||
virtual void SetWindowedScale(float scale);
|
||||
|
@ -414,11 +413,6 @@ CocoaVideo::CocoaVideo(const int multisample)
|
|||
[m_window setContentView:glView];
|
||||
}
|
||||
|
||||
CocoaVideo::~CocoaVideo()
|
||||
{
|
||||
[m_window release];
|
||||
}
|
||||
|
||||
void CocoaVideo::StartModeIterator(const int bits, const bool fullscreen)
|
||||
{
|
||||
m_modeIterator.index = 0;
|
||||
|
|
Loading…
Reference in a new issue