diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 05:11:03 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 20:20:39 +0100 |
commit | 179ee963db1c8310e533daa4457b02b7a8141539 (patch) | |
tree | f511ec266467559a841926b9f7bf27c72b8f3e46 /src/video_core/engines/maxwell_3d.h | |
parent | gl_shader_cache: Use dirty flags for shaders (diff) | |
download | yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar.gz yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar.bz2 yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar.lz yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar.xz yuzu-179ee963db1c8310e533daa4457b02b7a8141539.tar.zst yuzu-179ee963db1c8310e533daa4457b02b7a8141539.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d50e5a126..8d0e18d80 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1089,12 +1089,15 @@ public: MemoryManager& memory_manager; struct DirtyFlags { + u8 color_buffer = 0xFF; + bool shaders = true; bool vertex_attrib_format = true; u32 vertex_array = 0xFFFFFFFF; void OnMemoryWrite() { + color_buffer = 0xFF; shaders = true; vertex_array = 0xFFFFFFFF; } |