diff --git a/README.md b/README.md index 3b4d06d..feae53c 100644 --- a/README.md +++ b/README.md @@ -45,12 +45,12 @@ On browsers that don't support BC1 (Firefox is one), there's a low-quality fallb Note that I was unable to disable assertions when compiling the transcoder in release (-O2), and I'm not sure why yet. Currently, basisu.h forcefully disables the assert() macro, which is ugly but works: -`#if defined(__EMSCRIPTEN__) && !defined(_DEBUG) && !defined(DEBUG) -// HUGE HACK: I've been unable to disable assertions using emcc -O2 -s ASSERTIONS=0, no idea why. -// We definitely don't want them enabled in release. -#undef assert -#define assert(x) ((void)0) -#endif` +`#if defined(__EMSCRIPTEN__) && !defined(_DEBUG) && !defined(DEBUG)` +`// HUGE HACK: I've been unable to disable assertions using emcc -O2 -s ASSERTIONS=0, no idea why. ` +`// We definitely don't want them enabled in release.` +`#undef assert` +`#define assert(x) ((void)0)` +`#endif` ### Transcoder details