diff --git a/gfx/drivers_renderchain/d3d8_renderchain.c b/gfx/drivers_renderchain/d3d8_renderchain.c index 9a53e50d87..78f7602db8 100644 --- a/gfx/drivers_renderchain/d3d8_renderchain.c +++ b/gfx/drivers_renderchain/d3d8_renderchain.c @@ -283,9 +283,6 @@ static void d3d8_renderchain_set_final_viewport(void *data, d3d8_renderchain_t *chain = (d3d8_renderchain_t*)renderchain_data; const D3DVIEWPORT *final_viewport = (const D3DVIEWPORT*)viewport_data; - if (chain) - chain->final_viewport = (D3DVIEWPORT*)final_viewport; - #if 0 d3d_recompute_pass_sizes(chain, d3d); #endif