diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 67f13bfcd..cc9d95773 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -23,20 +23,23 @@ #include #include -#include "../../r_local.h" // For rendertimefrac, used for the leveltime shader uniform -#include "../../f_finale.h" -#include "r_opengl.h" -#include "r_vbo.h" -#include "../hw_shaders.h" -#include "../hw_main.h" -#include "../hw_clip.h" - -#include "../../i_video.h" // Eeeeh not sure is this right way, but it works < sry :c < sry again it had to go :c #if defined (HWRENDER) && !defined (NOROPENGL) +#include "r_opengl.h" +#include "r_vbo.h" + +#include "../hw_batching.h" +#include "../hw_clip.h" +#include "../hw_main.h" +#include "../hw_shaders.h" + +#include "../../f_finale.h" +#include "../../r_local.h" // For rendertimefrac, used for the leveltime shader uniform +#include "../../i_video.h" + struct GLRGBAFloat { GLfloat red;