|
|
@ -57,7 +57,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com |
|
|
|
#include <d3d9.h> |
|
|
|
#include <d3d9.h> |
|
|
|
#include <ddraw.h> |
|
|
|
#include <ddraw.h> |
|
|
|
#include <d3dx9mesh.h> |
|
|
|
#include <d3dx9mesh.h> |
|
|
|
#include <dxerr9.h> |
|
|
|
#include <dxerr.h> |
|
|
|
|
|
|
|
|
|
|
|
#include "hsWinRef.h" |
|
|
|
#include "hsWinRef.h" |
|
|
|
|
|
|
|
|
|
|
@ -11837,7 +11837,7 @@ void plDXPipeline::ISetErrorMessage( char *errStr ) |
|
|
|
// Convert the last D3D error code to a string (probably "Conflicting Render State").
|
|
|
|
// Convert the last D3D error code to a string (probably "Conflicting Render State").
|
|
|
|
void plDXPipeline::IGetD3DError() |
|
|
|
void plDXPipeline::IGetD3DError() |
|
|
|
{ |
|
|
|
{ |
|
|
|
sprintf( fSettings.fErrorStr, "D3DError : %s", (char *)DXGetErrorString9( fSettings.fDXError ) ); |
|
|
|
sprintf( fSettings.fErrorStr, "D3DError : %s", (char *)DXGetErrorString( fSettings.fDXError ) ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// IShowErrorMessage /////////////////////////////////////////////////////////////
|
|
|
|
// IShowErrorMessage /////////////////////////////////////////////////////////////
|
|
|
|