OpenGL2: Fallback to OpenGL ES if OpenGL fails

This commit is contained in:
Zack Middleton committed 2024-06-06 19:49:17 -04:00
1 parent 551fa6c797
commit f869bffe97
3 files changed
+105 -104

No files matched your search

+4 -3
View File
@@ -168,11 +168,12 @@ embedded System-on-a-Chip and mobile platforms.
The opengl1 renderer does not have OpenGL ES support.
The `r_useOpenGLES` cvar controls whether to use OpenGL or OpenGL ES API.
Set to -1 for auto (default), 0 for OpenGL, and 1 for OpenGL ES. It should be
The opengl2 renderer will try both OpenGL and OpenGL ES APIs to find one that
works. The `r_preferOpenGLES` cvar controls which API to try first.
Set it to -1 for auto (default), 0 for OpenGL, and 1 for OpenGL ES. It should be
set using command line arguments:
ioquake3 +set cl_renderer opengl2 +set r_useOpenGLES 1
ioquake3 +set cl_renderer opengl2 +set r_preferOpenGLES 1
# Console