mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Revert "Revert "Fix function signature of metal_unload_texture""
This reverts commit 1a7d69621f321b315394ffabe987a3306aa00c0b.
This commit is contained in:
parent
1a7d69621f
commit
4350073265
@ -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