From 4df9c61d2a7d8ee6a5dfb08cb3073f6ec35e8863 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 27 Jan 2014 17:27:12 +0000 Subject: [PATCH] Check for and warn about old nVidia drivers. (Had a bug report with someone using 189 drivers on Windows!) --- src/GUI/MessageBox.cxx | 2 +- src/Main/main.cxx | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/src/GUI/MessageBox.cxx b/src/GUI/MessageBox.cxx index d57d89e10..fed1eeffe 100644 --- a/src/GUI/MessageBox.cxx +++ b/src/GUI/MessageBox.cxx @@ -121,7 +121,7 @@ MessageBoxResult modalMessageBox(const std::string& caption, #if defined(SG_WINDOWS) return win32MessageBox(caption, msg, moreText); #elif defined(SG_MAC) - return cocoaFatalMessage(msg, moreText); + return cocoaMessageBox(msg, moreText); #else SG_LOG(SG_GENERAL, SG_ALERT, caption << ":" << msg); if (!moreText.empty()) { diff --git a/src/Main/main.cxx b/src/Main/main.cxx index c146a14c1..42dcf6ba4 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -53,6 +53,7 @@ extern bool global_crashRptEnabled; #include #include #include +#include #include #include @@ -60,6 +61,7 @@ extern bool global_crashRptEnabled; #include #include