From 4127d8c1a8c35f047add63f2c12ea83fe9d866b2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Sep 2014 00:31:41 +0200 Subject: [PATCH] (XDK) Fix build - renderchain code needs to be entirely gutted for Xbox and rewritten to fit PC renderchain --- gfx/d3d9/d3d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/d3d9/d3d.cpp b/gfx/d3d9/d3d.cpp index dc7494a182..fa7bcc7ca5 100644 --- a/gfx/d3d9/d3d.cpp +++ b/gfx/d3d9/d3d.cpp @@ -188,6 +188,8 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info) d3d_video_t *link_info = (d3d_video_t*)d3d; link_info->tex_w = link_info->tex_h = RARCH_SCALE_BASE * video_info->input_scale; + + //d3d_deinit_chain(d3d); #else LinkInfo link_info = {0}; link_info.pass = &d3d->shader.pass[0]; @@ -195,7 +197,6 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info) video_info->input_scale * RARCH_SCALE_BASE; #endif - d3d_deinit_chain(d3d); #ifdef _XBOX if (!renderchain_init(d3d, video_info)) {