diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/camera.cc | 3 | ||||
-rw-r--r-- | src/render/draw.cc | 3 | ||||
-rw-r--r-- | src/render/draw.h | 2 | ||||
-rw-r--r-- | src/render/dust.cc | 4 | ||||
-rw-r--r-- | src/render/render.cc | 3 | ||||
-rw-r--r-- | src/render/state.cc | 2 |
6 files changed, 11 insertions, 6 deletions
diff --git a/src/render/camera.cc b/src/render/camera.cc index a020947..91a7095 100644 --- a/src/render/camera.cc +++ b/src/render/camera.cc @@ -6,7 +6,8 @@ #include <cmath> -#include "core/core.h" +#include "core/application.h" +#include "core/gameinterface.h" #include "math/mathlib.h" #include "math/matrix4f.h" #include "render/camera.h" diff --git a/src/render/draw.cc b/src/render/draw.cc index 61030b4..1c8dd31 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -7,7 +7,8 @@ #include <sstream> #include <iomanip> -#include "core/core.h" +#include "core/application.h" +#include "core/gameinterface.h" #include "core/range.h" #include "model/fragment.h" #include "model/material.h" diff --git a/src/render/draw.h b/src/render/draw.h index 14ad2fa..bb42067 100644 --- a/src/render/draw.h +++ b/src/render/draw.h @@ -7,6 +7,8 @@ #ifndef __INCLUDED_RENDER_DRAW_H__ #define __INCLUDED_RENDER_DRAW_H__ +#include "core/gameinterface.h" + #include "math/axis.h" #include "math/vector3f.h" diff --git a/src/render/dust.cc b/src/render/dust.cc index f84460d..89ef630 100644 --- a/src/render/dust.cc +++ b/src/render/dust.cc @@ -7,8 +7,8 @@ #include "render/camera.h" #include "render/dust.h" #include "render/gl.h" -#include "core/cvar.h" -#include "core/core.h" +#include "core/application.h" +#include "core/gameinterface.h" #include "math/functions.h" #include "sys/sys.h" diff --git a/src/render/render.cc b/src/render/render.cc index 7f6b02c..41aa96f 100644 --- a/src/render/render.cc +++ b/src/render/render.cc @@ -10,7 +10,8 @@ #include <iomanip> #include "auxiliary/functions.h" -#include "core/core.h" +#include "core/application.h" +#include "core/gameinterface.h" #include "filesystem/filesystem.h" #include "model/model.h" #include "render/gl.h" diff --git a/src/render/state.cc b/src/render/state.cc index 41ef158..996b94c 100644 --- a/src/render/state.cc +++ b/src/render/state.cc @@ -82,7 +82,7 @@ void State::clear() gl::cullface(GL_BACK); gl::frontface(GL_CCW); gl::disable(GL_CULL_FACE); - gl::disable(GL_DEPTH_TEST); + gl::disable(GL_DEPTH_TEST); gl::disable(GL_BLEND); gl::disable(GL_TEXTURE_2D); |