mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
OpenGL: Disable auto invalidation of framebuffers, it has somehow broken
(Breaks DBZ: Tag Team)
This commit is contained in:
1 parent
90ba3a20a9
commit
f526f5977b
2 files changed
+3
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user