summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/VertexHandler.cpp
diff options
context:
space:
mode:
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;
}