- [FIX] Arerglat mkdir() en Windows

- [FIX] Arreglat glActiveTexture en Windows
This commit is contained in:
2026-03-15 13:10:00 +01:00
parent 536987f89b
commit afa022d838
2 changed files with 7 additions and 0 deletions

View File

@@ -278,7 +278,11 @@ bool file_createFolder(const char* name) {
char tmp[256];
strcpy(tmp, "./");
strcat(tmp, name);
#ifdef _WIN32
return mkdir(tmp)==0;
#elif
return mkdir(tmp, 0755)==0;
#endif
}
static bool has_extension(const std::string &name, const char *ext)