A bit of a hack, only show stencil when exclusively selected

* Thumbnails enable all channels, so if depth (Red) is enabled then ignore
  that stencil (Green) is also enabled.
This commit is contained in:
baldurk
2014-11-02 20:11:19 +00:00
parent 3a95b83d28
commit 823821d775
+1 -1
View File
@@ -264,7 +264,7 @@ bool GLReplay::RenderTexture(TextureDisplay cfg)
RDCGLenum dsTexMode = eGL_NONE;
if (tex.creationFlags & eTextureCreate_DSV)
{
if (cfg.Green)
if (!cfg.Red && cfg.Green)
{
dsTexMode = eGL_STENCIL_INDEX;