From 70606eab1ef78baf0ddd6b099d581e6f71eee8ca Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 13 Oct 2021 18:40:41 +0200 Subject: [PATCH] Buildfix for WiiU --- gfx/video_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index b1cddb6952..7f2c43b5e0 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1644,8 +1644,8 @@ void video_driver_cached_frame_get(const void **data, unsigned *width, void video_driver_get_size(unsigned *width, unsigned *height) { -#ifdef HAVE_THREADS video_driver_state_t *video_st = &video_driver_st; +#ifdef HAVE_THREADS bool is_threaded = VIDEO_DRIVER_IS_THREADED_INTERNAL(video_st); VIDEO_DRIVER_THREADED_LOCK(video_st, is_threaded);