mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert "Move Present to the end of NativeFrame()"
This didn't work out too well, will look into it as it's a necessary
step.
This reverts commit 4e77c63b97
.
This commit is contained in:
parent
f40a49369c
commit
0fdb0e47a8
1 changed files with 5 additions and 5 deletions
|
@ -1143,6 +1143,11 @@ void NativeFrame(GraphicsContext *graphicsContext) {
|
|||
}
|
||||
g_draw->EndFrame();
|
||||
|
||||
// This, between EndFrame and Present, is where we should actually wait to do present time management.
|
||||
// There might not be a meaningful distinction here for all backends..
|
||||
|
||||
g_draw->Present();
|
||||
|
||||
if (resized) {
|
||||
INFO_LOG(G3D, "Resized flag set - recalculating bounds");
|
||||
resized = false;
|
||||
|
@ -1182,11 +1187,6 @@ void NativeFrame(GraphicsContext *graphicsContext) {
|
|||
// We're rendering fine, clear out failure info.
|
||||
ClearFailedGPUBackends();
|
||||
}
|
||||
|
||||
// This, between EndFrame and Present, is where we should actually wait to do present time management.
|
||||
// There might not be a meaningful distinction here for all backends..
|
||||
|
||||
g_draw->Present();
|
||||
}
|
||||
|
||||
void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
|
|
Loading…
Add table
Reference in a new issue