Pass a const char* instead of RString to RageException::Throw

For #781
This commit is contained in:
sukibaby
2025-04-27 12:01:40 -07:00
committed by teejusb
parent c7d9938ec3
commit 3a12adc56c
+3 -2
View File
@@ -583,8 +583,9 @@ bool RageDisplay_D3D::BeginFrame()
{
bool bIgnore = false;
RString sError = SetD3DParams( bIgnore );
if( sError != "" )
RageException::Throw( sError );
if( !sError.empty() ) {
RageException::Throw(sError.c_str());
}
break;
}