mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Video Common: Avoid 'presenting' duplicate frames by detecting when swap
hasn't changed since the last frame
This commit is contained in:
@ -89,6 +89,7 @@ public:
|
||||
bool is_xfb_copy = false;
|
||||
float y_scale = 1.0f;
|
||||
float gamma = 1.0f;
|
||||
u64 id;
|
||||
|
||||
unsigned int native_width,
|
||||
native_height; // Texture dimensions from the GameCube's point of view
|
||||
@ -268,6 +269,7 @@ private:
|
||||
TexAddrCache textures_by_address;
|
||||
TexHashCache textures_by_hash;
|
||||
TexPool texture_pool;
|
||||
u64 last_entry_id = 0;
|
||||
|
||||
// Backup configuration values
|
||||
struct BackupConfig
|
||||
|
Reference in New Issue
Block a user