mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Add accessor for UseFlags
This commit is contained in:
1 parent
2302a82c3e
commit
ee19db091f
10 files changed
+31
-19
No files matched your search
+2
-2
@@ -636,7 +636,7 @@ void GPUCommon::ClearCacheNextFrame() {
|
||||
void GPUCommon::CheckConfigChanged() {
|
||||
if (configChanged_) {
|
||||
ClearCacheNextFrame();
|
||||
gstate_c.useFlags = CheckGPUFeatures();
|
||||
gstate_c.SetUseFlags(CheckGPUFeatures());
|
||||
drawEngineCommon_->NotifyConfigChanged();
|
||||
textureCache_->NotifyConfigChanged();
|
||||
framebufferManager_->NotifyConfigChanged();
|
||||
@@ -1244,7 +1244,7 @@ void GPUCommon::BeginFrame() {
|
||||
|
||||
if (drawEngineCommon_->EverUsedExactEqualDepth() && !sawExactEqualDepth_) {
|
||||
sawExactEqualDepth_ = true;
|
||||
gstate_c.useFlags = CheckGPUFeatures();
|
||||
gstate_c.SetUseFlags(CheckGPUFeatures());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user