mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
Alex did this
credit goes to bro
This commit is contained in:
parent
ab028e0abc
commit
01c0715b25
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user