mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Change return type of load_texture to uintptr_t
This commit is contained in:
parent
20170ef2b0
commit
f53711f791
@ -1715,7 +1715,7 @@ static int video_texture_load_wrap_d3d(void *data)
|
||||
return id;
|
||||
}
|
||||
|
||||
static unsigned d3d_load_texture(void *video_data, void *data,
|
||||
static uintptr_t d3d_load_texture(void *video_data, void *data,
|
||||
bool threaded, enum texture_filter_type filter_type)
|
||||
{
|
||||
uintptr_t id = 0;
|
||||
|
@ -3512,7 +3512,7 @@ static int video_texture_load_wrap_gl(void *data)
|
||||
return id;
|
||||
}
|
||||
|
||||
static unsigned gl_load_texture(void *video_data, void *data,
|
||||
static uintptr_t gl_load_texture(void *video_data, void *data,
|
||||
bool threaded, enum texture_filter_type filter_type)
|
||||
{
|
||||
uintptr_t id = 0;
|
||||
|
@ -190,7 +190,7 @@ typedef struct video_info
|
||||
|
||||
typedef struct video_poke_interface
|
||||
{
|
||||
unsigned (*load_texture)(void *video_data, void *data,
|
||||
uintptr_t (*load_texture)(void *video_data, void *data,
|
||||
bool threaded, enum texture_filter_type filter_type);
|
||||
void (*unload_texture)(void *data, uintptr_t *id);
|
||||
void (*set_video_mode)(void *data, unsigned width, unsigned height, bool fullscreen);
|
||||
|
@ -1135,7 +1135,7 @@ static void thread_set_osd_msg(void *data, const char *msg,
|
||||
}
|
||||
#endif
|
||||
|
||||
static unsigned thread_load_texture(void *video_data, void *data,
|
||||
static uintptr_t thread_load_texture(void *video_data, void *data,
|
||||
bool threaded, enum texture_filter_type filter_type)
|
||||
{
|
||||
thread_video_t *thr = (thread_video_t*)video_data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user