stencil clear

This commit is contained in:
aap
2020-11-04 16:21:24 +01:00
parent 8c00f787cb
commit 5ef54dcb78
5 changed files with 11 additions and 1 deletions
+4
View File
@@ -16,6 +16,8 @@
#include "rwgl3impl.h"
int renderpassfudge = 2;
namespace rw {
namespace gl3 {
@@ -65,6 +67,8 @@ drawInst_GSemu(InstanceDataHeader *header, InstanceData *inst)
void
drawInst(InstanceDataHeader *header, InstanceData *inst)
{
if(getAlphaBlend() == renderpassfudge)
return;
if(rw::GetRenderState(rw::GSALPHATEST))
drawInst_GSemu(header, inst);
else