Another ifdef

This commit is contained in:
twinaphex 2016-02-17 01:24:38 +01:00
parent 22452f6cb2
commit 2e853b3f04

View File

@ -249,6 +249,7 @@ static bool hw_render_context_is_vulkan(enum retro_hw_context_type type)
} }
#endif #endif
#if defined(HAVE_OPENGL) && defined(HAVE_FBO)
static bool hw_render_context_is_gl(enum retro_hw_context_type type) static bool hw_render_context_is_gl(enum retro_hw_context_type type)
{ {
switch (type) switch (type)
@ -263,6 +264,7 @@ static bool hw_render_context_is_gl(enum retro_hw_context_type type)
return false; return false;
} }
} }
#endif
static bool find_video_driver(void) static bool find_video_driver(void)
{ {