mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 15:23:56 -07:00
the old debug_assert always ran and tested the expression, which slows down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new ASSERT behaves like assert and ENSURE like the old debug_assert. Let's change any time-critical but not-super-important ENSURE to ASSERT to speed up release builds. (already done in bits.h and unique_range.h) This was SVN commit r9362. |
||
|---|---|---|
| .. | ||
| tex.cpp | ||
| tex.h | ||
| tex_bmp.cpp | ||
| tex_codec.cpp | ||
| tex_codec.h | ||
| tex_dds.cpp | ||
| tex_internal.h | ||
| tex_jpg.cpp | ||
| tex_png.cpp | ||
| tex_tga.cpp | ||