提交 ed235471 编写于 作者: J jp9000

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.
上级 a0bcfb2e
...@@ -548,9 +548,9 @@ void OBSBasic::OBSInit() ...@@ -548,9 +548,9 @@ void OBSBasic::OBSInit()
case OBS_VIDEO_MODULE_NOT_FOUND: case OBS_VIDEO_MODULE_NOT_FOUND:
throw "Failed to initialize video: Graphics module not found"; throw "Failed to initialize video: Graphics module not found";
case OBS_VIDEO_NOT_SUPPORTED: case OBS_VIDEO_NOT_SUPPORTED:
throw "Failed to initialize video: Your graphics adapter " throw "Failed to initialize video: Required graphics API "
"is either too old or does not have the required " "functionality not found on these drivers or "
"capabilities required for this program"; "unavailable on this equipment";
case OBS_VIDEO_INVALID_PARAM: case OBS_VIDEO_INVALID_PARAM:
throw "Failed to initialize video: Invalid parameters"; throw "Failed to initialize video: Invalid parameters";
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册