Some minor "centralization"

This commit is contained in:
Henrik Rydgård committed 2022-11-21 17:55:30 +01:00
1 parent d73196c7d6
commit ce5a1b8b7e
7 files changed
+8 -38

No files matched your search

+5 -1
View File
@@ -482,10 +482,14 @@ void GPUCommon::BeginHostFrame() {
// TODO: Assume config may have changed - maybe move to resize.
gstate_c.Dirty(DIRTY_ALL);
UpdateCmdInfo();
CheckResized();
}
void GPUCommon::EndHostFrame() {
// Probably not necessary.
draw_->InvalidateCachedState();
}
void GPUCommon::Reinitialize() {