Turn some variables static

This commit is contained in:
twinaphex 2017-05-20 14:31:07 +02:00
parent 3ae54e0eed
commit c0431b34c9
2 changed files with 2 additions and 6 deletions

View File

@ -205,9 +205,9 @@ static slock_t *display_lock = NULL;
static slock_t *context_lock = NULL;
#endif
gfx_ctx_driver_t current_video_context;
static gfx_ctx_driver_t current_video_context;
void *video_context_data = NULL;
static void *video_context_data = NULL;
shader_backend_t *current_shader = NULL;
void *shader_data = NULL;

View File

@ -1184,10 +1184,6 @@ bool video_context_driver_input_driver(gfx_ctx_input_t *inp);
void video_context_driver_free(void);
extern gfx_ctx_driver_t current_video_context;
extern void *video_context_data;
bool video_shader_driver_get_prev_textures(video_shader_ctx_texture_t *texture);
bool video_shader_driver_get_ident(video_shader_ctx_ident_t *ident);