Skip to content
Snippets Groups Projects
Commit 0ca74432 authored by sphere's avatar sphere
Browse files

Merge branch 'ogl-better-gpu-error' into 'next'

Improve OpenGL GDI Generic error message

See merge request STJr/SRB2!1673
parents ea3b867c f3c5adda
No related branches found
No related tags found
1 merge request!1673Improve OpenGL GDI Generic error message
......@@ -177,7 +177,9 @@ boolean OglSdlSurface(INT32 w, INT32 h)
// Also set the renderer variable back to software so the next launch won't
// repeat this error.
CV_StealthSet(&cv_renderer, "Software");
I_Error("OpenGL Error: Failed to access the GPU. There may be an issue with your graphics drivers.");
I_Error("OpenGL Error: Failed to access the GPU. Possible reasons include:\n"
"- GPU vendor has dropped OpenGL support on your GPU and OS. (Old GPU?)\n"
"- GPU drivers are missing or broken. You may need to update your drivers.");
}
}
first_init = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment