exceptions

This commit is contained in:
Glenn Maynard
2004-11-30 20:30:33 +00:00
parent 07acc3fad4
commit 85ca41e47c
+1 -1
View File
@@ -332,7 +332,7 @@ D3DFORMAT FindBackBufferType(bool bWindowed, int iBPP)
if( !bWindowed && iBPP != 16 && iBPP != 32 )
{
GraphicsWindow::Shutdown();
throw RageException( ssprintf("Invalid BPP '%u' specified", iBPP) );
RageException::Throw( "Invalid BPP '%i' specified", iBPP );
}
// Test each back buffer format until we find something that works.