OpenGL: Disable auto invalidation of framebuffers, it has somehow broken

(Breaks DBZ: Tag Team)
This commit is contained in:
Henrik Rydgård committed 2020-10-17 12:51:45 +02:00
1 parent 90ba3a20a9
commit f526f5977b
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -617,6 +617,7 @@ void GLQueueRunner::RunSteps(const std::vector<GLRStep *> &steps, bool skipGLCal
};
int invalidateAllMask = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT;
/*
for (int j = 0; j < (int)steps.size() - 1; ++j) {
GLRStep &primaryStep = *steps[j];
if (primaryStep.stepType == GLRStepType::RENDER) {
@@ -648,7 +649,7 @@ void GLQueueRunner::RunSteps(const std::vector<GLRStep *> &steps, bool skipGLCal
primaryStep.commands.push_back(data);
}
}
}
}*/
CHECK_GL_ERROR_IF_DEBUG();
size_t renderCount = 0;
+1 -1
View File
@@ -136,7 +136,7 @@ struct GLRRenderData {
int16_t scissorY;
int16_t scissorW;
int16_t scissorH;
} clear;
} clear; // also used for invalidate
struct {
int slot;
GLRTexture *texture;