From ed2354716f3bc6c3e13d27fc8187da7cb0ce1a5d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 25 Aug 2014 15:52:54 -0700 Subject: [PATCH] Use more appropriate error message Sometimes certain drivers do not have the capability required to initialize the graphics subsystem (mesa currently, for example). Instead of saying "your hardware is too old", state that the drivers may also be at fault. --- obs/window-basic-main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 523337216..78bd993c6 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -548,9 +548,9 @@ void OBSBasic::OBSInit() case OBS_VIDEO_MODULE_NOT_FOUND: throw "Failed to initialize video: Graphics module not found"; case OBS_VIDEO_NOT_SUPPORTED: - throw "Failed to initialize video: Your graphics adapter " - "is either too old or does not have the required " - "capabilities required for this program"; + throw "Failed to initialize video: Required graphics API " + "functionality not found on these drivers or " + "unavailable on this equipment"; case OBS_VIDEO_INVALID_PARAM: throw "Failed to initialize video: Invalid parameters"; default: -- GitLab