Revert "SM5 didnt want to compile with DirectX SDK (Summer 2004), which is the original DX9.0c SDK, please use conditional compilation for newer SDKs. Summer 2004 has the following constant: #define D3D_SDK_VERSION 32"

This reverts commit 8e37673954.
This commit is contained in:
Jason Felds
2013-06-08 21:52:22 -04:00
parent 0dc30d32b4
commit 1ff3195d7c
3 changed files with 18 additions and 26 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
#include "RageUtil.h"
#include <windows.h>
#include <dxerr9.h>
#include <dxerr.h>
#if defined(_MSC_VER)
# pragma comment(lib, "dxerr9.lib")
# pragma comment(lib, "dxerr.lib")
#endif
RString hr_ssprintf( int hr, const char *fmt, ... )
@@ -15,7 +15,7 @@ RString hr_ssprintf( int hr, const char *fmt, ... )
RString s = vssprintf( fmt, va );
va_end(va);
const char *szError = DXGetErrorString9( hr );
const char *szError = DXGetErrorString( hr );
return s + ssprintf( " (%s)", szError );
}