Make sure outputs are always erased

This commit is contained in:
Baldur Karlsson
2014-08-08 14:01:02 +01:00
parent 2947e508a6
commit ec683ea474
+2
View File
@@ -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++)
{