rotation clip fix

This commit is contained in:
Jorijn van der Graaf 2025-12-21 20:26:20 +01:00
commit e8f7d6e4a2
6 changed files with 23 additions and 74 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) {