mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Add gles3 renderer to videomenu
This commit is contained in:
parent
0881a63b1e
commit
56e1b9bc1e
1 changed files with 9 additions and 2 deletions
|
@ -63,8 +63,8 @@ static menuaction_s s_apply_action;
|
|||
|
||||
// --------
|
||||
|
||||
// gl1, gl3, vk, soft
|
||||
#define MAXRENDERERS 4
|
||||
// gl1, gl3, gles3, vk, soft
|
||||
#define MAXRENDERERS 5
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -94,6 +94,13 @@ Renderer_FillRenderdef(void)
|
|||
rendererlist[numrenderer].cvarstr = "gl3";
|
||||
}
|
||||
|
||||
if (VID_HasRenderer("gles3"))
|
||||
{
|
||||
numrenderer++;
|
||||
rendererlist[numrenderer].boxstr = "[OpenGL ES3]";
|
||||
rendererlist[numrenderer].cvarstr = "gles3";
|
||||
}
|
||||
|
||||
if (VID_HasRenderer("vk"))
|
||||
{
|
||||
numrenderer++;
|
||||
|
|
Loading…
Reference in a new issue