summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-10-25 13:27:28 +0000
committerhrydgard <hrydgard@gmail.com>2008-10-25 13:27:28 +0000
commit2f6d41e413ef2197ee25d1a9ea1790c9d64e548b (patch)
tree5082396fd2378e83f4a0268fd0b34f771c70fb1a /Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
parentbc79d22f5e4293a390f9f6ae27bc29372856196f (diff)
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
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp b/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
index f3d290a629..c22d665b32 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
@@ -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;
}