(Apple) Move variables to apple_gfx_context.c.inl

This commit is contained in:
twinaphex 2014-07-09 13:39:43 +02:00
parent b6c17a79bb
commit 4431989515
2 changed files with 9 additions and 9 deletions

View File

@ -72,20 +72,11 @@
static GLKView *g_view;
static UIView *g_pause_indicator_view;
#elif defined(OSX)
static bool g_has_went_fullscreen;
static NSOpenGLPixelFormat* g_format;
#endif
static bool g_initialized;
static RAGameView* g_instance;
static GLContextClass* g_context;
static int g_fast_forward_skips;
static bool g_is_syncing = true;
@implementation RAGameView
+ (RAGameView*)get

View File

@ -1,6 +1,15 @@
#include "../../gfx/gfx_common.h"
#include "../../gfx/gfx_context.h"
static bool g_initialized;
static int g_fast_forward_skips;
static bool g_is_syncing = true;
#ifdef OSX
static bool g_has_went_fullscreen;
static NSOpenGLPixelFormat* g_format;
#endif
static RAScreen* get_chosen_screen(void)
{
#if defined(OSX) && !defined(MAC_OS_X_VERSION_10_6)