mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
parent
8b9a4ab8e4
commit
9ad9cb8682
1 changed files with 3 additions and 1 deletions
|
@ -746,7 +746,6 @@ GL4_DrawBeam(entity_t *e)
|
|||
VectorAdd(start_points[i], direction, end_points[i]);
|
||||
}
|
||||
|
||||
//glDisable(GL_TEXTURE_2D);
|
||||
glEnable(GL_BLEND);
|
||||
glDepthMask(GL_FALSE);
|
||||
|
||||
|
@ -1591,6 +1590,9 @@ GL4_RenderView(refdef_t *fd)
|
|||
|
||||
GL4_DrawAlphaSurfaces();
|
||||
|
||||
// simple gamma correction
|
||||
glEnable(GL_FRAMEBUFFER_SRGB);
|
||||
|
||||
// Note: R_Flash() is now GL4_Draw_Flash() and called from GL4_RenderFrame()
|
||||
|
||||
if (r_speeds->value)
|
||||
|
|
Loading…
Reference in a new issue