Browse Source

Use D3D_SDK_VERSION when initializing the Direct3D9 device.

Lasse Öörni 12 years ago
parent
commit
45e0907cb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/Graphics/Direct3D9/D3D9Graphics.cpp

+ 1 - 1
Source/Engine/Graphics/Direct3D9/D3D9Graphics.cpp

@@ -2143,7 +2143,7 @@ void Graphics::AdjustWindow(int& newWidth, int& newHeight, bool& newFullscreen)
 
 bool Graphics::CreateInterface()
 {
-    impl_->interface_ = Direct3DCreate9(D3D9b_SDK_VERSION);
+    impl_->interface_ = Direct3DCreate9(D3D_SDK_VERSION);
     if (!impl_->interface_)
     {
         LOGERROR("Could not create Direct3D9 interface");