From d4f982d7ddbdae6df686d53f92760ae6121c62db Mon Sep 17 00:00:00 2001 From: Flakebi Date: Wed, 11 Feb 2015 20:52:05 +0100 Subject: [PATCH] Fix crash with --nographics --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 5c913415e..1d308d2b4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1296,7 +1296,7 @@ int main(int argc, char *argv[] ) exit(0); } - if (GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) + if (!ProfileWorld::isNoGraphics() && GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) { MessageDialog *dialog = new MessageDialog(_("Your driver version is too old. Please install "