Revert "Fix function signature of metal_unload_texture"
This reverts commit bd16d5c9dc
.
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…
Reference in New Issue