Add gles3 renderer to videomenu

This commit is contained in:
Daniel Gibson 2022-04-26 21:08:02 +02:00
parent 0881a63b1e
commit 56e1b9bc1e

View file

@ -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++;