mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- consider MBF sky transfers when checking for skybox precaching.
This commit is contained in:
parent
bf490d8dcd
commit
48e21f6759
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ void OpenGLFrameBuffer::GetHitlist(BYTE *hitlist)
|
|||
// check skybox textures and mark the separate faces as used
|
||||
for(int i=0;i<TexMan.NumTextures(); i++)
|
||||
{
|
||||
if (hitlist[i] & FTextureManager::HIT_Sky)
|
||||
// HIT_Wall must be checked for MBF-style sky transfers.
|
||||
if (hitlist[i] & (FTextureManager::HIT_Sky|FTextureManager::HIT_Wall))
|
||||
{
|
||||
FTexture *tex = TexMan.ByIndex(i);
|
||||
if (tex->gl_info.bSkybox)
|
||||
|
|
Loading…
Reference in a new issue