mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Clear GL depth buffer before drawing a frame in Polymost. This should fix the issue with skies in the Duke64 TC.
git-svn-id: https://svn.eduke32.com/eduke32@4063 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
37265689cf
commit
b16c929170
1 changed files with 4 additions and 2 deletions
|
@ -3193,8 +3193,10 @@ void polymost_drawrooms()
|
|||
#ifdef YAX_ENABLE
|
||||
if (numyaxbunches==0)
|
||||
#endif
|
||||
if (editstatus)
|
||||
bglClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
|
||||
if (editstatus)
|
||||
bglClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
bglClear(GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
bglDisable(GL_BLEND);
|
||||
bglEnable(GL_TEXTURE_2D);
|
||||
|
|
Loading…
Reference in a new issue