From 35f895adb302e06850ae9b103cfb65c69c2e8d06 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sun, 19 Jan 2014 16:03:09 -0800 Subject: [PATCH] Cleanup. --- src/renderer_d3d11.cpp | 4 ++-- src/renderer_d3d9.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer_d3d11.cpp b/src/renderer_d3d11.cpp index 147e8bf28..5e73758a9 100644 --- a/src/renderer_d3d11.cpp +++ b/src/renderer_d3d11.cpp @@ -177,12 +177,12 @@ namespace bgfx }; static const Matrix4 s_bias = - { + {{{ 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.5f, 0.5f, 0.5f, 1.0f, - }; + }}}; struct TextureFormatInfo { diff --git a/src/renderer_d3d9.cpp b/src/renderer_d3d9.cpp index 22a02758b..5d1ba4fa7 100644 --- a/src/renderer_d3d9.cpp +++ b/src/renderer_d3d9.cpp @@ -251,12 +251,12 @@ namespace bgfx }; static const Matrix4 s_bias = - { + {{{ 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.5f, 0.5f, 0.5f, 1.0f, - }; + }}}; static const GUID IID_IDirect3D9 = { 0x81bdcbca, 0x64d4, 0x426d, { 0xae, 0x8d, 0xad, 0x1, 0x47, 0xf4, 0x27, 0x5c } }; static const GUID IID_IDirect3DDevice9Ex = { 0xb18b10ce, 0x2649, 0x405a, { 0x87, 0xf, 0x95, 0xf7, 0x77, 0xd4, 0x31, 0x3a } };