state_tracker: workaround channel setup for homebrew
This commit is contained in:
parent
c80ed6d81f
commit
0d99b7962d
5 changed files with 9 additions and 4 deletions
|
@ -237,6 +237,6 @@ void StateTracker::InvalidateState() {
|
|||
flags->set();
|
||||
}
|
||||
|
||||
StateTracker::StateTracker() : flags{} {}
|
||||
StateTracker::StateTracker() : flags{&default_flags} {}
|
||||
|
||||
} // namespace OpenGL
|
||||
|
|
|
@ -223,6 +223,7 @@ public:
|
|||
|
||||
private:
|
||||
Tegra::Engines::Maxwell3D::DirtyState::Flags* flags;
|
||||
Tegra::Engines::Maxwell3D::DirtyState::Flags default_flags{};
|
||||
|
||||
GLuint framebuffer = 0;
|
||||
GLuint index_buffer = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue