Window resize fixes

This commit is contained in:
luboslenco
2025-07-03 22:13:36 +02:00
parent 5f0dfe9675
commit cdf2dcf12e
4 changed files with 47 additions and 69 deletions
+6
View File
@@ -75,6 +75,12 @@ void gpu_end() {
}
void gpu_resize(int width, int height) {
if (width == 0 || height == 0) {
return;
}
if (width == framebuffers[0].width && height == framebuffers[0].height) {
return;
}
gpu_resize_internal(width, height);
}