[WIP] Add text rendering

This commit is contained in:
Piotr Krygier committed 2025-06-20 13:44:33 +02:00
1 parent 3bd14b20c2
commit b2508ce4ff
15 files changed
+248 -27

No files matched your search

+3 -3
View File
@@ -16,9 +16,9 @@ void rse_read_file(const char* file_name, long* bytes_count, char* buffer)
fclose(file);
return;
}
if (fread(buffer, *bytes_count, 1, file)) {
perror("Empty file read");
fread(buffer, *bytes_count, 1, file);
if (ferror(file) != 0) {
perror("Error reading file");
}
fclose(file);