Comment out rarch_threaded_video_get_ident if HAVE_THREADS
not defined
This commit is contained in:
parent
b08c7f752d
commit
39d514d16d
|
@ -21,7 +21,9 @@
|
||||||
#include "menu_video.h"
|
#include "menu_video.h"
|
||||||
|
|
||||||
#include "../gfx/video_common.h"
|
#include "../gfx/video_common.h"
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
#include "../gfx/video_thread_wrapper.h"
|
#include "../gfx/video_thread_wrapper.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
void menu_video_draw_frame(
|
void menu_video_draw_frame(
|
||||||
|
@ -145,8 +147,10 @@ void menu_video_frame_background(
|
||||||
const char *menu_video_get_ident(void)
|
const char *menu_video_get_ident(void)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
#ifdef HAVE_THREADS
|
||||||
if (settings->video.threaded)
|
if (settings->video.threaded)
|
||||||
return rarch_threaded_video_get_ident();
|
return rarch_threaded_video_get_ident();
|
||||||
|
#endif
|
||||||
|
|
||||||
return video_driver_get_ident();
|
return video_driver_get_ident();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue