mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 09:32:58 +00:00
(OSX/iOS) Forcibly disable Threaded Video until UIWindow/NSWindow
concurrency issues are fixed
This commit is contained in:
parent
973ae36fe5
commit
65cddce865
11
retroarch.c
11
retroarch.c
@ -19833,12 +19833,23 @@ static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
||||
|
||||
bool *video_driver_get_threaded(void)
|
||||
{
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
/* TODO/FIXME - force threaded video to disabled on Apple for now
|
||||
* until NSWindow/UIWindow concurrency issues are taken care of */
|
||||
video_driver_threaded = false;
|
||||
#endif
|
||||
return &video_driver_threaded;
|
||||
}
|
||||
|
||||
void video_driver_set_threaded(bool val)
|
||||
{
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
/* TODO/FIXME - force threaded video to disabled on Apple for now
|
||||
* until NSWindow/UIWindow concurrency issues are taken care of */
|
||||
video_driver_threaded = false;
|
||||
#else
|
||||
video_driver_threaded = val;
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *video_driver_get_ident(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user