mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -79,7 +79,7 @@ void CVertexHandler::Shutdown()
|
||||
void CVertexHandler::CreateDeviceObjects()
|
||||
{
|
||||
HRESULT hr;
|
||||
if( FAILED( hr = D3D::dev->CreateVertexDeclaration( decl, &vDecl) ) )
|
||||
if (FAILED(hr = D3D::dev->CreateVertexDeclaration(decl, &vDecl)))
|
||||
{
|
||||
MessageBox(0,"Failed to create vertex declaration","sdfsd",0);
|
||||
return;
|
||||
@ -96,7 +96,7 @@ void CVertexHandler::DestroyDeviceObjects()
|
||||
{
|
||||
if (vDecl)
|
||||
vDecl->Release();
|
||||
vDecl=0;
|
||||
vDecl = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user