gl_framebuffer_cache: Use a hashed struct to cache framebuffers

This commit is contained in:
ReinUsesLisp 2019-05-11 03:15:49 -03:00
parent d65a4af895
commit 9098905dd1
6 changed files with 148 additions and 62 deletions

View file

@ -133,7 +133,7 @@ public:
return {};
}
if (regs.color_mask[index].raw != 0) {
if (regs.color_mask[index].raw == 0) {
SetEmptyColorBuffer(index);
return {};
}