SDL: Enhance warning/error output

This commit is contained in:
Hubert Maier 2018-07-25 09:15:55 +02:00 committed by GitHub
parent 5643a1ea09
commit f237d4f52a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}