diff --git a/gfx/drivers/rsx_gfx.c b/gfx/drivers/rsx_gfx.c index 61bb35bd0d..cb38b42e60 100644 --- a/gfx/drivers/rsx_gfx.c +++ b/gfx/drivers/rsx_gfx.c @@ -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; diff --git a/gfx/drivers_context/psl1ght_ctx.c b/gfx/drivers_context/psl1ght_ctx.c index c8a94f27d2..5913e60955 100755 --- a/gfx/drivers_context/psl1ght_ctx.c +++ b/gfx/drivers_context/psl1ght_ctx.c @@ -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)); diff --git a/gfx/drivers_display/gfx_display_rsx.c b/gfx/drivers_display/gfx_display_rsx.c index 089b910ceb..e114f9d045 100644 --- a/gfx/drivers_display/gfx_display_rsx.c +++ b/gfx/drivers_display/gfx_display_rsx.c @@ -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;