- [FIX] Ja se pot amagar i mostrar el cursor.

- [FIX] Arreglat error al carregar arxius zero_terminated.
- [ONGOING] Un poc de treball en shaders més avançats.
This commit is contained in:
2025-07-01 19:18:03 +02:00
parent 8cc347f639
commit b403dbad52
6 changed files with 169 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ namespace file
char *getFileBuffer(const char *resourcename, int& filesize, const bool zero_terminate) {
FILE *f = getFilePointer(resourcename, filesize, true);
char* buffer = (char*)malloc(zero_terminate?filesize:filesize+1);
char* buffer = (char*)malloc(zero_terminate?filesize+1:filesize);
fread(buffer, filesize, 1, f);
if (zero_terminate) buffer[filesize]=0;
fclose(f);