mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(OSX) Hopefully this GL hack is no longer necessary on 10.5-era OSX
This commit is contained in:
parent
52937d4b02
commit
679cabd430
@ -374,9 +374,6 @@ static void open_document_handler(NSOpenPanel *panel, NSInteger result)
|
||||
}
|
||||
|
||||
- (IBAction)openCore:(id)sender {
|
||||
#ifdef HAVE_OPENGL
|
||||
NSOpenGLContext *glc = (NSOpenGLContext*)glcontext_get_ptr();
|
||||
#endif
|
||||
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
||||
settings_t *settings = config_get_ptr();
|
||||
NSString *startdir = BOXSTRING(settings->directory.libretro);
|
||||
@ -402,9 +399,6 @@ static void open_document_handler(NSOpenPanel *panel, NSInteger result)
|
||||
if (result == 1)
|
||||
open_core_handler(panel, result);
|
||||
#endif
|
||||
#ifdef HAVE_OPENGL
|
||||
[glc makeCurrentContext];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)openDocument:(id)sender
|
||||
|
Loading…
Reference in New Issue
Block a user