Change exception message time from wxString to std::string

This commit is contained in:
Maciej Suminski 2017-01-13 16:59:31 +01:00
parent 88eb648cbb
commit 7cf1cfedb3
1 changed files with 1 additions and 5 deletions

View File

@ -98,11 +98,7 @@ void OPENGL_COMPOSITOR::Initialize()
// VECTOR2U is unsigned, so no need to check if < 0
if( dims.x > (unsigned) maxBufSize || dims.y >= (unsigned) maxBufSize )
{
throw std::runtime_error(
wxString::Format( "Requested render buffer size is %ux%u, but the max supported size is %dx%d",
dims.x, dims.y, maxBufSize, maxBufSize ) );
}
throw std::runtime_error( "Requested render buffer size is not supported" );
// We need framebuffer objects for drawing the screen contents
// Generate framebuffer and a depth buffer