Silence warning

This commit is contained in:
twinaphex 2021-10-13 21:44:40 +02:00
parent c098a321b4
commit 7f2cc93cf5

View File

@ -1761,7 +1761,9 @@ enum retro_pixel_format video_driver_get_pixel_format(void)
void video_driver_lock_new(void)
{
#ifdef HAVE_THREADS
video_driver_state_t *video_st = &video_driver_st;
#endif
VIDEO_DRIVER_LOCK_FREE(video_st);
#ifdef HAVE_THREADS
if (!video_st->display_lock)