From 2e853b3f04e43a9a9730202f5ff62a32d63205f9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 17 Feb 2016 01:24:38 +0100 Subject: [PATCH] Another ifdef --- gfx/video_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index bb5f857aba..4c575aed8a 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -249,6 +249,7 @@ static bool hw_render_context_is_vulkan(enum retro_hw_context_type type) } #endif +#if defined(HAVE_OPENGL) && defined(HAVE_FBO) static bool hw_render_context_is_gl(enum retro_hw_context_type type) { switch (type) @@ -263,6 +264,7 @@ static bool hw_render_context_is_gl(enum retro_hw_context_type type) return false; } } +#endif static bool find_video_driver(void) {