- fix null drawers

- slightly better renderstyle drawer selection
This commit is contained in:
Magnus Norddahl 2019-05-22 21:23:10 +02:00
commit 0cb3605c70
5 changed files with 32 additions and 10 deletions

View file

@ -10,7 +10,7 @@
#include "hwrenderer/scene/hw_renderstate.h"
#include "hwrenderer/textures/hw_material.h"
class PolyRenderPassSetup;
struct HWViewpointUniforms;
class PolyRenderState : public FRenderState
{
@ -45,6 +45,8 @@ public:
private:
void Apply();
HWViewpointUniforms *mViewpointUniforms = nullptr;
bool mDepthClamp = true;
PolyDrawArgs args;
};