mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(PSL1GHT) Silence some warnings
This commit is contained in:
parent
cd36af1d24
commit
b021f96522
@ -624,7 +624,6 @@ static uintptr_t rsx_load_texture(void *video_data, void *data,
|
||||
static void rsx_unload_texture(void *data,
|
||||
bool threaded, uintptr_t handle)
|
||||
{
|
||||
rsx_t *rsx = (rsx_t *)data;
|
||||
rsx_texture_t *texture = (rsx_texture_t *)handle;
|
||||
if (texture) {
|
||||
if(texture->data)
|
||||
@ -1118,7 +1117,7 @@ static void rsx_set_rotation(void* data, unsigned rotation)
|
||||
rsx_set_projection(gcm, &ortho, true);
|
||||
}
|
||||
|
||||
static void rsx_set_filtering(void* data, unsigned index, bool smooth)
|
||||
static void rsx_set_filtering(void* data, unsigned index, bool smooth, bool ctx_scaling)
|
||||
{
|
||||
rsx_t* gcm = (rsx_t*)data;
|
||||
|
||||
|
@ -167,9 +167,8 @@ static void gfx_ctx_psl1ght_swap_buffers(void *data)
|
||||
static void gfx_ctx_psl1ght_get_video_size(void *data,
|
||||
unsigned *width, unsigned *height)
|
||||
{
|
||||
gfx_ctx_psl1ght_data_t *psl1ght = (gfx_ctx_psl1ght_data_t*)data;
|
||||
|
||||
#if defined(HAVE_PSGL)
|
||||
gfx_ctx_psl1ght_data_t *psl1ght = (gfx_ctx_psl1ght_data_t*)data;
|
||||
if (psl1ght)
|
||||
psglGetDeviceDimensions(ps3->gl_device, width, height);
|
||||
#endif
|
||||
@ -177,7 +176,6 @@ static void gfx_ctx_psl1ght_get_video_size(void *data,
|
||||
|
||||
static void *gfx_ctx_psl1ght_init(void *video_driver)
|
||||
{
|
||||
printf("gfx_ctx_psl1ght_init: %p\n", video_driver);
|
||||
global_t *global = global_get_ptr();
|
||||
gfx_ctx_psl1ght_data_t *psl1ght = (gfx_ctx_psl1ght_data_t*)
|
||||
calloc(1, sizeof(gfx_ctx_psl1ght_data_t));
|
||||
|
@ -68,7 +68,6 @@ static void gfx_display_rsx_draw(gfx_display_ctx_draw_t *draw,
|
||||
const float *color = NULL;
|
||||
rsx_t *rsx = (rsx_t*)data;
|
||||
rsx_viewport_t vp;
|
||||
video_shader_ctx_mvp_t mvp;
|
||||
|
||||
if (!rsx || !draw)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user