mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +00:00
Move variables outside of gfx_ctx_ctl
This commit is contained in:
parent
510c804781
commit
bc74e7199b
@ -85,6 +85,8 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
static const gfx_ctx_driver_t *current_video_context = NULL;
|
||||
static void *video_context_data = NULL;
|
||||
|
||||
/**
|
||||
* find_gfx_ctx_driver_index:
|
||||
@ -257,8 +259,6 @@ const gfx_ctx_driver_t *gfx_ctx_init_first(void *data,
|
||||
|
||||
bool gfx_ctx_ctl(enum gfx_ctx_ctl_state state, void *data)
|
||||
{
|
||||
static const gfx_ctx_driver_t *current_video_context = NULL;
|
||||
static void *video_context_data = NULL;
|
||||
|
||||
switch (state)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user