SDL: Enhance warning/error output
This commit is contained in:
parent
5643a1ea09
commit
f237d4f52a
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void OpenGLSdlGraphicsManager::createOrUpdateScreen() {
|
|||
_gameRect = computeGameRect(gameRenderTarget, _engineRequestedWidth, _engineRequestedHeight, effectiveWidth, effectiveHeight);
|
||||
|
||||
if (!createOrUpdateGLContext(effectiveWidth, effectiveHeight, gameRenderTarget)) {
|
||||
warning("Error: %s", SDL_GetError());
|
||||
warning("SDL Error: %s", SDL_GetError());
|
||||
g_system->quit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue