Quick Error fix and using .png
This commit is contained in:
parent
ce294cd1d7
commit
47aa2c89a2
|
@ -95,7 +95,7 @@ void OBJReader::readOBJFile( std::wstring fileName )
|
||||||
|
|
||||||
inStream.close();
|
inStream.close();
|
||||||
|
|
||||||
Mat = Oyster::Resource::OysterResource::LoadResource((fileName + L".jpg").c_str(),Oyster::Graphics::Loading::LoadTexture);
|
Mat = Oyster::Resource::OysterResource::LoadResource((fileName + L".png").c_str(),Oyster::Graphics::Loading::LoadTexture);
|
||||||
}
|
}
|
||||||
|
|
||||||
Oyster::Graphics::Model::ModelInfo* OBJReader::toModel()
|
Oyster::Graphics::Model::ModelInfo* OBJReader::toModel()
|
||||||
|
|
|
@ -42,7 +42,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
|
||||||
|
|
Loading…
Reference in New Issue