mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 04:11:05 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user