- GLFlat split into API-dependent and -independent data.

No resorting of the files yet.
This commit is contained in:
Christoph Oelckers 2018-04-28 12:34:09 +02:00
commit c5641a0e72
15 changed files with 236 additions and 202 deletions

View file

@ -30,6 +30,9 @@
#include "g_levellocals.h"
#include "polyrenderer/scene/poly_light.h"
EXTERN_CVAR(Float, skyoffset)
PolySkyDome::PolySkyDome()
{
CreateDome();
@ -212,7 +215,6 @@ Mat4f PolySkyDome::GLSkyMath()
float y_offset = 0.0f;
bool mirror = false;
FTexture *tex = mCurrentSetup.frontskytex;
float skyoffset = 0.0f; // skyoffset debugging CVAR in GL renderer
int texh = 0;
int texw = 0;