mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-03 10:41:24 +00:00
Moved to GLAD for dynamic GL/WGL and extension loading.
Refactored extension usage that became core in GL2, and adjusted some types for GL2 compatibility. git-svn-id: https://svn.eduke32.com/eduke32@6656 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
037289a812
commit
3ca5f33c73
32 changed files with 7429 additions and 3007 deletions
|
@ -252,18 +252,18 @@ void COMMON_clearbackground(int32_t numcols, int32_t numrows)
|
|||
# ifdef USE_OPENGL
|
||||
if (getrendermode() >= REND_POLYMOST && qsetmode==200)
|
||||
{
|
||||
// bglPushAttrib(GL_FOG_BIT);
|
||||
bglDisable(GL_FOG);
|
||||
// glPushAttrib(GL_FOG_BIT);
|
||||
glDisable(GL_FOG);
|
||||
|
||||
setpolymost2dview();
|
||||
bglColor4f(0.f, 0.f, 0.f, 0.67f);
|
||||
bglEnable(GL_BLEND);
|
||||
bglRecti(0, 0, xdim, 8*numrows+8);
|
||||
bglColor4f(0.f, 0.f, 0.f, 1.f);
|
||||
bglRecti(0, 8*numrows+4, xdim, 8*numrows+8);
|
||||
glColor4f(0.f, 0.f, 0.f, 0.67f);
|
||||
glEnable(GL_BLEND);
|
||||
glRecti(0, 0, xdim, 8*numrows+8);
|
||||
glColor4f(0.f, 0.f, 0.f, 1.f);
|
||||
glRecti(0, 8*numrows+4, xdim, 8*numrows+8);
|
||||
|
||||
// bglPopAttrib();
|
||||
bglEnable(GL_FOG);
|
||||
// glPopAttrib();
|
||||
glEnable(GL_FOG);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue