Qt: Safer GPU renderer switching

This commit is contained in:
Connor McLaughlin
2020-01-24 14:49:51 +10:00
parent c5282b99e1
commit d343743768
4 changed files with 93 additions and 86 deletions

View File

@ -27,7 +27,7 @@ private Q_SLOTS:
void onEmulationStopped();
void onEmulationPaused(bool paused);
void toggleFullscreen();
void switchRenderer();
void recreateDisplayWidget(bool create_device_context);
void onPerformanceCountersUpdated(float speed, float fps, float vps, float average_frame_time,
float worst_frame_time);
@ -48,6 +48,7 @@ private:
void switchToGameListView();
void switchToEmulationView();
void doSettings(SettingsDialog::Category category = SettingsDialog::Category::Count);
void updateDebugMenuGPURenderer();
Ui::MainWindow m_ui;