Silence warning
This commit is contained in:
parent
c098a321b4
commit
7f2cc93cf5
|
@ -1761,7 +1761,9 @@ enum retro_pixel_format video_driver_get_pixel_format(void)
|
||||||
|
|
||||||
void video_driver_lock_new(void)
|
void video_driver_lock_new(void)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
video_driver_state_t *video_st = &video_driver_st;
|
video_driver_state_t *video_st = &video_driver_st;
|
||||||
|
#endif
|
||||||
VIDEO_DRIVER_LOCK_FREE(video_st);
|
VIDEO_DRIVER_LOCK_FREE(video_st);
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
if (!video_st->display_lock)
|
if (!video_st->display_lock)
|
||||||
|
|
Loading…
Reference in New Issue