mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Have Draw and DrawIndexed share command and struct. Will make the next change easier.
This commit is contained in:
1 parent
d5e0299b0b
commit
c7caefe6d8
4 files changed
+15
-15
No files matched your search
@@ -574,7 +574,7 @@ void PreprocessSkyplane(GLRStep* step) {
|
||||
for (auto& command : step->commands) {
|
||||
if (command.cmd == GLRRenderCommand::DEPTH) {
|
||||
depthEnabled = command.depth.enabled;
|
||||
} else if ((command.cmd == GLRRenderCommand::DRAW_INDEXED) && !depthEnabled) {
|
||||
} else if ((command.cmd == GLRRenderCommand::DRAW && command.draw.indices != nullptr) && !depthEnabled) {
|
||||
command.draw.count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user