Upgraded the DirectX 8 rendering to DirectX 9. Updated Direct Input to work with

the latest SDK as well.
This commit is contained in:
Shenjoku
2013-04-08 21:13:47 -07:00
parent 19150cdf9e
commit ba0d2d1838
11 changed files with 131 additions and 135 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
#include "RageUtil.h"
#include <windows.h>
#include <dxerr8.h>
#include <dxerr.h>
#if defined(_MSC_VER)
# pragma comment(lib, "dxerr8.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 = DXGetErrorString8( hr );
const char *szError = DXGetErrorString( hr );
return s + ssprintf( " (%s)", szError );
}