mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Update cocoa_common.m
This commit is contained in:
parent
a83c328631
commit
18170486cd
@ -34,8 +34,7 @@
|
|||||||
|
|
||||||
static CocoaView* g_instance;
|
static CocoaView* g_instance;
|
||||||
|
|
||||||
/* forward declarations */
|
|
||||||
void cocoa_gl_gfx_ctx_update(void);
|
|
||||||
|
|
||||||
#ifdef HAVE_COCOATOUCH
|
#ifdef HAVE_COCOATOUCH
|
||||||
void *glkitview_init(void);
|
void *glkitview_init(void);
|
||||||
@ -105,8 +104,11 @@ void *glkitview_init(void);
|
|||||||
- (void)setFrame:(NSRect)frameRect
|
- (void)setFrame:(NSRect)frameRect
|
||||||
{
|
{
|
||||||
[super setFrame:frameRect];
|
[super setFrame:frameRect];
|
||||||
|
/* forward declarations */
|
||||||
|
#if defined(HAVE_OPENGL)
|
||||||
|
void cocoa_gl_gfx_ctx_update(void);
|
||||||
cocoa_gl_gfx_ctx_update();
|
cocoa_gl_gfx_ctx_update();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stop the annoying sound when pressing a key. */
|
/* Stop the annoying sound when pressing a key. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user