From 3eacf471ac337093ad78e5cc5eb3826bd0fcedf0 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Mon, 16 Mar 2020 23:00:35 +0800 Subject: [PATCH] tune --- src/newgal/video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/newgal/video.c b/src/newgal/video.c index 11c347a1..a671dbab 100644 --- a/src/newgal/video.c +++ b/src/newgal/video.c @@ -560,7 +560,8 @@ GAL_Surface * GAL_SetVideoMode (int width, int height, int bpp, Uint32 flags) if ((mode != NULL)) { /* Sanity check */ if ((mode->w < width) || (mode->h < height)) { - GAL_SetError("NEWGAL: Video mode smaller than requested.\n"); + GAL_SetError("NEWGAL: Video size (%d x %d) smaller than requested.\n", + mode->w, mode->h); return(NULL); }