Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
f3c5adda
Commit
f3c5adda
authored
3 years ago
by
Hannu Hanhi
Browse files
Options
Downloads
Patches
Plain Diff
Improve OpenGL GDI Generic error message
parent
65045573
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1673
Improve OpenGL GDI Generic error message
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sdl/ogl_sdl.c
+3
-1
3 additions, 1 deletion
src/sdl/ogl_sdl.c
with
3 additions
and
1 deletion
src/sdl/ogl_sdl.c
+
3
−
1
View file @
f3c5adda
...
@@ -177,7 +177,9 @@ boolean OglSdlSurface(INT32 w, INT32 h)
...
@@ -177,7 +177,9 @@ boolean OglSdlSurface(INT32 w, INT32 h)
// Also set the renderer variable back to software so the next launch won't
// Also set the renderer variable back to software so the next launch won't
// repeat this error.
// repeat this error.
CV_StealthSet
(
&
cv_renderer
,
"Software"
);
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
;
first_init
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment