Stable Rendering

This commit is contained in:
lanariel 2013-11-27 08:22:20 +01:00
parent f9d9479dad
commit 4b6cdab17b
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ HRESULT InitDirect3D();
int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow ) int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow )
{ {
bool b = SetDllDirectoryW(L"..\\..\\DLL"); BOOL b = SetDllDirectoryW(L"..\\..\\DLL");
typedef struct tagLOADPARMS32 typedef struct tagLOADPARMS32
{ {
LPSTR lpEnvAddress; // address of environment strings LPSTR lpEnvAddress; // address of environment strings
@ -186,6 +186,7 @@ HRESULT InitDirect3D()
#pragma region Obj #pragma region Obj
m = Oyster::Graphics::API::CreateModel(L"bth.obj"); m = Oyster::Graphics::API::CreateModel(L"bth.obj");
m->WorldMatrix *= 0.1f; m->WorldMatrix *= 0.1f;
m->WorldMatrix.m44 = 1;
#pragma endregion #pragma endregion