mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
fix video filters when built without HAVE_THREADS.
This commit is contained in:
parent
891de78611
commit
8cb98acbd2
@ -216,6 +216,7 @@ static bool create_softfilter_graph(rarch_softfilter_t *filt,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filt->threads = threads;
|
||||||
RARCH_LOG("Using %u threads for softfilter.\n", threads);
|
RARCH_LOG("Using %u threads for softfilter.\n", threads);
|
||||||
|
|
||||||
filt->packets = (struct softfilter_work_packet*)
|
filt->packets = (struct softfilter_work_packet*)
|
||||||
@ -231,7 +232,6 @@ static bool create_softfilter_graph(rarch_softfilter_t *filt,
|
|||||||
calloc(threads, sizeof(*filt->thread_data));
|
calloc(threads, sizeof(*filt->thread_data));
|
||||||
if (!filt->thread_data)
|
if (!filt->thread_data)
|
||||||
return false;
|
return false;
|
||||||
filt->threads = threads;
|
|
||||||
|
|
||||||
for (i = 0; i < threads; i++)
|
for (i = 0; i < threads; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user