Add missing R_ApplyGLBuffer() to actually render the player menu.

This fixes part of the player setup menu missing after the GL1 grouped
drawcalls branch was merged.

Submitted by @protocultor in
https://github.com/yquake2/yquake2/pull/1124#issuecomment-2241272507
This commit is contained in:
Yamagi 2024-07-21 09:24:49 +02:00
parent 824cd9c034
commit 528ffe6a6d

View file

@ -1161,6 +1161,7 @@ R_SetLightLevel(entity_t *currententity)
static void
RI_RenderFrame(refdef_t *fd)
{
R_ApplyGLBuffer(); // menu rendering when needed
R_RenderView(fd);
R_SetLightLevel (NULL);
R_SetGL2D();