Alex did this

credit goes to bro
This commit is contained in:
IonutParau 2025-06-30 20:08:53 +02:00
parent ab028e0abc
commit 01c0715b25
2 changed files with 3 additions and 1 deletions

View File

@ -312,7 +312,7 @@ void nni_gpu_fill(nni_gpu *gpu, void *_, nn_component *component, nn_computer *c
if(x < 0) x = 0; if(x < 0) x = 0;
if(y < 0) y = 0; if(y < 0) y = 0;
if(w > gpu->currentScreen->width - x) w = gpu->currentScreen->width - x; if(w > gpu->currentScreen->width - x) w = gpu->currentScreen->width - x;
if(h > gpu->currentScreen->height - y) y = gpu->currentScreen->height - y; if(h > gpu->currentScreen->height - y) h = gpu->currentScreen->height - y;
int changes = 0, clears = 0; int changes = 0, clears = 0;

View File

@ -565,6 +565,8 @@ int main() {
memset(release_check_list, 0, sizeof(int)*256); memset(release_check_list, 0, sizeof(int)*256);
uint8_t release_check_ptr; uint8_t release_check_ptr;
SetExitKey(KEY_NULL);
while(true) { while(true) {
if(WindowShouldClose()) break; if(WindowShouldClose()) break;