mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 20:07:47 +00:00
gl_rasterizer_cache: Use dirty flags for the depth buffer
This commit is contained in:
parent
6e932fe118
commit
1c8411dc8d
4 changed files with 23 additions and 3 deletions
|
@ -1090,6 +1090,7 @@ public:
|
|||
|
||||
struct DirtyFlags {
|
||||
u8 color_buffer = 0xFF;
|
||||
bool zeta_buffer = true;
|
||||
|
||||
bool shaders = true;
|
||||
|
||||
|
@ -1098,6 +1099,7 @@ public:
|
|||
|
||||
void OnMemoryWrite() {
|
||||
color_buffer = 0xFF;
|
||||
zeta_buffer = true;
|
||||
shaders = true;
|
||||
vertex_array = 0xFFFFFFFF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue