mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
- header cleanup for gl_swscene.
This commit is contained in:
parent
9d13e6b7ec
commit
0dc82fe755
2 changed files with 4 additions and 13 deletions
|
@ -25,17 +25,17 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gl/system/gl_system.h"
|
|
||||||
#include "gl/system/gl_debug.h"
|
|
||||||
#include "gl/data/gl_vertexbuffer.h"
|
|
||||||
#include "gl/shaders/gl_shader.h"
|
|
||||||
#include "hwrenderer/textures/hw_ihwtexture.h"
|
#include "hwrenderer/textures/hw_ihwtexture.h"
|
||||||
|
#include "hwrenderer/textures/hw_material.h"
|
||||||
|
#include "r_renderer.h"
|
||||||
#include "gl_swscene.h"
|
#include "gl_swscene.h"
|
||||||
#include "w_wad.h"
|
#include "w_wad.h"
|
||||||
#include "d_player.h"
|
#include "d_player.h"
|
||||||
#include "textures/bitmap.h"
|
#include "textures/bitmap.h"
|
||||||
#include "swrenderer/scene/r_light.h"
|
#include "swrenderer/scene/r_light.h"
|
||||||
|
|
||||||
|
#include "gl/renderer/gl_renderer.h"
|
||||||
|
|
||||||
// [RH] Base blending values (for e.g. underwater)
|
// [RH] Base blending values (for e.g. underwater)
|
||||||
int BaseBlendR, BaseBlendG, BaseBlendB;
|
int BaseBlendR, BaseBlendG, BaseBlendB;
|
||||||
float BaseBlendA;
|
float BaseBlendA;
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#include "r_defs.h"
|
#include "r_defs.h"
|
||||||
#include "m_fixed.h"
|
#include "m_fixed.h"
|
||||||
#include "hwrenderer/scene/hw_clipper.h"
|
#include "hwrenderer/scene/hw_clipper.h"
|
||||||
#include "gl_portal.h"
|
|
||||||
#include "gl/renderer/gl_lightdata.h"
|
|
||||||
#include "gl/renderer/gl_renderer.h"
|
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
#include "c_cvars.h"
|
#include "c_cvars.h"
|
||||||
|
|
||||||
|
@ -18,12 +15,6 @@ class SWSceneDrawer
|
||||||
FSWSceneTexture *FBTexture = nullptr;
|
FSWSceneTexture *FBTexture = nullptr;
|
||||||
bool FBIsTruecolor = false;
|
bool FBIsTruecolor = false;
|
||||||
|
|
||||||
|
|
||||||
void BlendView (player_t *CPlayer, float blend[4]);
|
|
||||||
bool CreateResources();
|
|
||||||
void BindFBBuffer();
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SWSceneDrawer();
|
SWSceneDrawer();
|
||||||
~SWSceneDrawer();
|
~SWSceneDrawer();
|
||||||
|
|
Loading…
Reference in a new issue