From 96a085170be626f4948df2239ba779847cff249a Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Mon, 16 Mar 2020 20:44:57 +0800 Subject: [PATCH] tune error info --- src/newgal/newgal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/newgal/newgal.c b/src/newgal/newgal.c index 1564e807..c3b8f3bf 100644 --- a/src/newgal/newgal.c +++ b/src/newgal/newgal.c @@ -302,9 +302,7 @@ int mg_InitGAL (char* engine, char* mode) if (GAL_VideoInit (engine, 0)) { GAL_VideoQuit (); _ERR_PRINTF ("NEWGAL: Does not find matched engine: %s.\n", engine); - if (IS_COMPOSITING_SCHEMA) { - _ERR_PRINTF (" Or the specified engine does not support compositing schema.\n"); - } + _ERR_PRINTF (" Or failed to initialize the engine.\n"); return ERR_NO_MATCH; }