Preprocessor: #if's out OSX-specific GL changes on other platforms
This commit is contained in:
parent
06ef8f001a
commit
ee4717aaae
3 changed files with 9 additions and 1 deletions
|
@ -30,8 +30,11 @@ void Start() {
|
|||
|
||||
/// Initialize the video core
|
||||
void Init(EmuWindow* emu_window) {
|
||||
|
||||
#if EMU_PLATFORM == PLATFORM_MACOSX
|
||||
// Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled.
|
||||
glewExperimental = GL_TRUE;
|
||||
#endif
|
||||
|
||||
g_emu_window = emu_window;
|
||||
g_emu_window->MakeCurrent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue