From 6c3a5fe634671f621402432529257275aa9d283a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Nov 2016 13:23:36 +0100 Subject: [PATCH] Buildfix --- gfx/video_driver.c | 2 +- gfx/video_driver.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 8ace002844..802a429401 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -85,7 +85,7 @@ static bool video_driver_state_out_rgb32 = false; static enum retro_pixel_format video_driver_pix_fmt = RETRO_PIXEL_FORMAT_0RGB1555; -static const void *frame_cache_data = NULL; +const void *frame_cache_data = NULL; static unsigned frame_cache_width = 0; static unsigned frame_cache_height = 0; static size_t frame_cache_pitch = 0; diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 3c014e8188..2a8b66792b 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -514,6 +514,8 @@ extern video_driver_t video_drm; extern video_driver_t video_xshm; extern video_driver_t video_null; +extern const void *frame_cache_data; + extern void *video_driver_data; extern video_driver_t *current_video;