mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix function signature of metal_unload_texture
This commit is contained in:
parent
5102911da6
commit
bd16d5c9dc
@ -194,12 +194,10 @@ static uintptr_t metal_load_texture(void *video_data, void *data,
|
||||
return (uintptr_t)(__bridge_retained void *)(t);
|
||||
}
|
||||
|
||||
static void metal_unload_texture(void *data, uintptr_t handle)
|
||||
static void metal_unload_texture(void *data, uintptr_t handle, bool threaded)
|
||||
{
|
||||
if (!handle)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Texture *t = (__bridge_transfer Texture *)(void *)handle;
|
||||
t = nil;
|
||||
}
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "../../paths.h"
|
||||
#include "../../core.h"
|
||||
#include "../../retroarch.h"
|
||||
#include "../../tasks/task_content.h"
|
||||
#include "../../tasks/tasks_internal.h"
|
||||
#include ".././verbosity.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user