mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
Revert "Fix function signature of metal_unload_texture"
This reverts commit bd16d5c9dcf29e608ce4820b7dadcd92beb5dab9.
This commit is contained in:
parent
bd16d5c9dc
commit
1a7d69621f
@ -194,10 +194,12 @@ 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, bool threaded)
|
||||
static void metal_unload_texture(void *data, uintptr_t handle)
|
||||
{
|
||||
if (!handle)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Texture *t = (__bridge_transfer Texture *)(void *)handle;
|
||||
t = nil;
|
||||
}
|
||||
|
@ -35,7 +35,6 @@
|
||||
#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