From 978cc4956379e0dc775243c8e8c2e8bb5d7e67d5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Sep 2014 18:37:31 +0200 Subject: [PATCH] (D3D) Build fix --- gfx/d3d9/render_chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d9/render_chain.cpp b/gfx/d3d9/render_chain.cpp index 8499a76700..69a382741c 100644 --- a/gfx/d3d9/render_chain.cpp +++ b/gfx/d3d9/render_chain.cpp @@ -372,7 +372,7 @@ bool renderchain_create_first_pass(void *data, const LinkInfo *info, return false; chain->prev.tex[i] = (LPDIRECT3DTEXTURE)d3d_texture_new( - d3dr, NULL, d3info->tex_w, info->tex_h, 1, 0, + d3dr, NULL, info->tex_w, info->tex_h, 1, 0, fmt == RGB565 ? D3DFMT_R5G6B5 : D3DFMT_X8R8G8B8, D3DPOOL_MANAGED, 0, 0, 0, NULL, NULL);