Remove address sanitizer for windows build, stb_sprintf acts weird with address sanitizer sometimes

This commit is contained in:
Krzosa Karol
2024-01-10 20:51:03 +01:00
parent 3fca72bc57
commit a3c0a63ee2
3 changed files with 5 additions and 2 deletions

View File

@@ -84,6 +84,9 @@ IO_API bool IO__FatalErrorf(const char *file, int line, const char *msg, ...) {
}
IO_API void IO_Printf(const char *msg, ...) {
// First try to use a static buffer. That can fail because the message
// can be bigger then the buffer. Allocate enough memory to fit in that
// case.
va_list args1;
va_list args2;
char buff[2048];