From 4b6cdab17b6ae2e3a6ac96c3b12819fcd75357f2 Mon Sep 17 00:00:00 2001 From: lanariel Date: Wed, 27 Nov 2013 08:22:20 +0100 Subject: [PATCH] Stable Rendering --- Code/Tester/MainTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Tester/MainTest.cpp b/Code/Tester/MainTest.cpp index a2167ef2..607ba3b4 100644 --- a/Code/Tester/MainTest.cpp +++ b/Code/Tester/MainTest.cpp @@ -40,7 +40,7 @@ HRESULT InitDirect3D(); int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow ) { - bool b = SetDllDirectoryW(L"..\\..\\DLL"); + BOOL b = SetDllDirectoryW(L"..\\..\\DLL"); typedef struct tagLOADPARMS32 { LPSTR lpEnvAddress; // address of environment strings @@ -186,6 +186,7 @@ HRESULT InitDirect3D() #pragma region Obj m = Oyster::Graphics::API::CreateModel(L"bth.obj"); m->WorldMatrix *= 0.1f; + m->WorldMatrix.m44 = 1; #pragma endregion