This commit is contained in:
Jorijn van der Graaf 2025-12-21 19:52:41 +01:00
commit c9fadb3779
5 changed files with 214 additions and 4 deletions

View file

@ -302,9 +302,9 @@ void WindowWayland::Render() {
dirtyRects = std::move(newClip);
// for(uint_fast32_t i = 0; i < width*height; i++) {
// framebuffer[i] = {0, 0, 0, 255};
// }
for(uint_fast32_t i = 0; i < width*height; i++) {
framebuffer[i] = {0, 0, 0, 255};
}
// std::cout << dirtyRects.size() << std::endl;
// for (ClipRect rect : dirtyRects) {