mirror of
https://github.com/PabloMK7/citra.git
synced 2025-02-01 16:53:05 +01:00
8131bd32e3
* Add Anaglyph 3D Change 3D slider in-game Change shaders while game is running Move shader loading into function Disable 3D slider setting when stereoscopy is off The rest of the shaders Address review issues Documentation and minor fixups Forgot clang-format Fix shader release on SDL2-software rendering Remove unnecessary state changes Respect 3D factor setting regardless of stereoscopic rendering Improve shader resolution passing Minor setting-related improvements Add option to toggle texture filtering Rebase fixes * One final clang-format * Fix OpenGL problems
30 lines
592 B
C++
30 lines
592 B
C++
// Copyright 2016 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class ConfigureGraphics;
|
|
}
|
|
|
|
class ConfigureGraphics : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureGraphics(QWidget* parent = nullptr);
|
|
~ConfigureGraphics() override;
|
|
|
|
void ApplyConfiguration();
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
std::unique_ptr<Ui::ConfigureGraphics> ui;
|
|
QColor bg_color;
|
|
|
|
private:
|
|
void updateShaders(bool anaglyph);
|
|
};
|