mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Minor cleanups
This commit is contained in:
1 parent
653b19ae53
commit
600fb7cc22
3 files changed
+7
-5
No files matched your search
+5
-1
@@ -956,6 +956,7 @@ void NativeShutdownGraphics() {
|
||||
if (g_screenManager) {
|
||||
g_screenManager->deviceLost();
|
||||
}
|
||||
g_iconCache.ClearTextures();
|
||||
|
||||
if (gpu)
|
||||
gpu->DeviceLost();
|
||||
@@ -1104,7 +1105,6 @@ void NativeFrame(GraphicsContext *graphicsContext) {
|
||||
Achievements::Idle();
|
||||
|
||||
g_DownloadManager.Update();
|
||||
g_screenManager->update();
|
||||
|
||||
g_Discord.Update();
|
||||
g_BackgroundAudio.Play();
|
||||
@@ -1124,6 +1124,10 @@ void NativeFrame(GraphicsContext *graphicsContext) {
|
||||
g_BackgroundAudio.Update();
|
||||
}
|
||||
|
||||
g_iconCache.FrameUpdate();
|
||||
|
||||
g_screenManager->update();
|
||||
|
||||
// Apply the UIContext bounds as a 2D transformation matrix.
|
||||
// TODO: This should be moved into the draw context...
|
||||
Matrix4x4 ortho = ComputeOrthoMatrix(g_display.dp_xres, g_display.dp_yres);
|
||||
|
||||
Reference in new issue
Block a user