(OSX) Fix build now for real
This commit is contained in:
parent
4dfed7e930
commit
353072c9cd
|
@ -353,7 +353,7 @@ static void open_document_handler(NSOpenPanel *panel, NSInteger result)
|
||||||
|
|
||||||
- (IBAction)openCore:(id)sender {
|
- (IBAction)openCore:(id)sender {
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
GLContextClass *glc = (NSOpenGLContext*)glcontext_get_ptr();
|
NSOpenGLContext *glc = (NSOpenGLContext*)glcontext_get_ptr();
|
||||||
#endif
|
#endif
|
||||||
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
@ -388,7 +388,7 @@ static void open_document_handler(NSOpenPanel *panel, NSInteger result)
|
||||||
- (void)openDocument:(id)sender
|
- (void)openDocument:(id)sender
|
||||||
{
|
{
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
GLContextClass *glc = (NSOpenGLContext*)glcontext_get_ptr();
|
NSOpenGLContext *glc = (NSOpenGLContext*)glcontext_get_ptr();
|
||||||
#endif
|
#endif
|
||||||
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
NSOpenPanel* panel = (NSOpenPanel*)[NSOpenPanel openPanel];
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
Loading…
Reference in New Issue