mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +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
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const gfx_ctx_driver_t *current_video_context = NULL;
|
||||||
|
static void *video_context_data = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* find_gfx_ctx_driver_index:
|
* 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)
|
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)
|
switch (state)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user