mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 15:32:57 +00:00
- removed redundant SKYBOX enum.
This commit is contained in:
parent
9608252873
commit
c69fd3ac80
2 changed files with 1 additions and 8 deletions
|
@ -176,7 +176,7 @@ void GLWall::PutPortal(int ptype)
|
||||||
if (!portal)
|
if (!portal)
|
||||||
{
|
{
|
||||||
// either a regular skybox or an Eternity-style horizon
|
// either a regular skybox or an Eternity-style horizon
|
||||||
if (skybox->special1 != SKYBOX_MAP) portal = new GLEEHorizonPortal(skybox);
|
if (skybox->special1 != SKYBOX_SKYVIEWPOINT) portal = new GLEEHorizonPortal(skybox);
|
||||||
else portal = new GLSkyboxPortal(skybox);
|
else portal = new GLSkyboxPortal(skybox);
|
||||||
}
|
}
|
||||||
portal->AddLine(this);
|
portal->AddLine(this);
|
||||||
|
|
|
@ -24,13 +24,6 @@
|
||||||
|
|
||||||
#include "textures/textures.h"
|
#include "textures/textures.h"
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
SKYBOX_MAP = 0,
|
|
||||||
SKYBOX_PLANE,
|
|
||||||
SKYBOX_HORIZON
|
|
||||||
};
|
|
||||||
|
|
||||||
extern FTextureID skyflatnum;
|
extern FTextureID skyflatnum;
|
||||||
extern fixed_t sky1cyl, sky2cyl;
|
extern fixed_t sky1cyl, sky2cyl;
|
||||||
extern FTextureID sky1texture, sky2texture;
|
extern FTextureID sky1texture, sky2texture;
|
||||||
|
|
Loading…
Reference in a new issue