mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Make sure outputs are always erased
This commit is contained in:
@@ -1548,6 +1548,8 @@ void WrappedOpenGL::AddDrawcall(FetchDrawcall d, bool hasEvents)
|
||||
{
|
||||
GLint numCols = 8;
|
||||
m_Real.glGetIntegerv(eGL_MAX_COLOR_ATTACHMENTS, &numCols);
|
||||
|
||||
RDCEraseEl(draw.outputs);
|
||||
|
||||
for(GLint i=0; i < RDCMIN(numCols, 8); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user