From e98b1657619ee82bbbe9c923e2c40ac538116abd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 25 Jan 2018 12:38:14 +0100 Subject: [PATCH] Silence some warnings --- gfx/drivers_renderchain/d3d9_hlsl_renderchain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers_renderchain/d3d9_hlsl_renderchain.c b/gfx/drivers_renderchain/d3d9_hlsl_renderchain.c index 88894d630a..acfaa0df83 100644 --- a/gfx/drivers_renderchain/d3d9_hlsl_renderchain.c +++ b/gfx/drivers_renderchain/d3d9_hlsl_renderchain.c @@ -54,9 +54,9 @@ static void hlsl_d3d9_renderchain_set_mvp( d3d_video_t *d3d = (d3d_video_t*)data; if(shader_data) - hlsl_set_proj_matrix(shader_data, mat_data); + hlsl_set_proj_matrix(shader_data, (void*)mat_data); else - hlsl_set_proj_matrix((void*)&d3d->shader, mat_data); + hlsl_set_proj_matrix((void*)&d3d->shader, (void*)mat_data); } static void hlsl_d3d9_renderchain_clear(void *data)