Changed: Release modes list under OS X
--HG-- branch : develop
This commit is contained in:
parent
a49723178d
commit
b56686b9b7
1 changed files with 4 additions and 0 deletions
|
@ -2050,6 +2050,10 @@ bool CDriverGL::getModes(std::vector<GfxMode> &modes)
|
||||||
// nldebug(" Display 0x%x: Mode %dx%d, %d BPP", dspy, w, h, bpp);
|
// nldebug(" Display 0x%x: Mode %dx%d, %d BPP", dspy, w, h, bpp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NL_MAC_VERSION_10_6_UP
|
||||||
|
CFRelease(modeList);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined (NL_OS_UNIX)
|
#elif defined (NL_OS_UNIX)
|
||||||
|
|
Loading…
Reference in a new issue