From b4fa396470e7f8e118796aa38b978dd11f402521 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 9 Dec 2015 10:14:43 +0100 Subject: [PATCH] Cleanup --- 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 f6035c7bfb..90e45a038a 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -875,7 +875,7 @@ void video_driver_set_filtering(unsigned index, bool smooth) void video_driver_cached_frame_set(const void *data, unsigned width, unsigned height, size_t pitch) { - video_driver_state.frame_cache.data = data; + video_driver_ctl(RARCH_DISPLAY_CTL_CACHED_FRAME_SET_PTR, (void*)data); video_driver_state.frame_cache.width = width; video_driver_state.frame_cache.height = height; video_driver_state.frame_cache.pitch = pitch;