]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Added developer_memorylargerthanmb cvar which dprints notices about very large memory...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 20:53:09 +0000 (20:53 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 20:53:09 +0000 (20:53 +0000)
commit2af7bf1a4eb9a5c9a1cfe76f9f8690523bafbd3e
treef22f7487c5d32dbedb841813add51185499e2855
parentd0b62751636ffda4720ee9a4f8e829474f6e699c
Added developer_memorylargerthanmb cvar which dprints notices about very large memory allocations (16MB and larger by default).

Slightly improved the Mem_Alloc out of memory error to include the size of the failed allocation.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12290 d7cf8633-e32d-0410-b094-e92efae38249
31 files changed:
cl_collision.c
cl_collision.h
cl_input.c
cl_main.c
cl_particles.c
client.h
clvm_cmds.c
collision.c
collision.h
gl_rmain.c
gl_textures.c
mathlib.c
mathlib.h
model_alias.c
model_brush.c
model_shared.c
model_shared.h
r_explosion.c
r_shadow.c
r_shadow.h
sbar.c
server.h
sv_move.c
sv_phys.c
sv_user.c
svvm_cmds.c
sys_linux.c
sys_sdl.c
view.c
zone.c
zone.h