From cef6dcec66fc96f9c50e8e8fc866bc078f160b87 Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Wed, 23 May 2012 23:36:42 +0200 Subject: [PATCH] (360) Small fix - (preliminary) FBO mode seems to work --- gfx/shader_hlsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/shader_hlsl.c b/gfx/shader_hlsl.c index c1f0c205a2..b7203ddf33 100644 --- a/gfx/shader_hlsl.c +++ b/gfx/shader_hlsl.c @@ -206,7 +206,7 @@ static void set_program_attributes(unsigned i) prg[i].frame_cnt_v = prg[i].v_ctable->GetConstantByName(NULL, "$IN.frame_count"); prg[i].frame_dir_v = prg[i].v_ctable->GetConstantByName(NULL, "$IN.frame_direction"); prg[i].mvp = prg[i].v_ctable->GetConstantByName(NULL, "$modelViewProj"); - prg[i].mvp_val = XMMIdentity(); + prg[i].mvp_val = XMMatrixIdentity(); } bool hlsl_load_shader(unsigned index, const char *path)