mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
UI: Make GPU events more consistent.
This commit is contained in:
1 parent
7613fd97aa
commit
661b2a3aa8
6 files changed
+17
-22
No files matched your search
+2
-2
@@ -836,7 +836,7 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
if (GetGPUBackend() == GPUBackend::OPENGL) {
|
||||
PSP_CoreParameter().pixelWidth = pixel_xres;
|
||||
PSP_CoreParameter().pixelHeight = pixel_yres;
|
||||
NativeMessageReceived("gpu resized", "");
|
||||
NativeMessageReceived("gpu_resized", "");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -868,7 +868,7 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
// Show for the same duration as the preview.
|
||||
osm.Show(msg, 2.0f, 0xFFFFFF, -1, true, "savestate_slot");
|
||||
}
|
||||
if (msg == "gpu resized" || msg == "gpu clear cache") {
|
||||
if (msg == "gpu_resized" || msg == "gpu_clearCache") {
|
||||
if (gpu) {
|
||||
gpu->ClearCacheNextFrame();
|
||||
gpu->Resized();
|
||||
|
||||
Reference in new issue
Block a user