mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
moved SAFE_DELETE to lib.h
dyn_array supports "wrapping" other types of memory (stopgap measure)
texture codecs now load via DynArray (intermediate step to all mem stuff
going through res/mem.cpp)
simplified tex codecs by doing as many checks as possible in
tex_load_mem ("template method"-esque)
This was SVN commit r2690.
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
#include "Game.h"
|
||||
#include "Overlay.h" // for CColor
|
||||
|
||||
#define SAFE_DELETE(x) \
|
||||
if((x)) { delete (x); (x) = NULL; }
|
||||
|
||||
CMaterial NullMaterial;
|
||||
CMaterial IdentityMaterial;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user