screenshot: get rid of the 3*w*h+18 TGA buffer; instead however always capture as...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 May 2010 10:28:26 +0000 (10:28 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 9 May 2010 10:28:26 +0000 (10:28 +0000)
commitc3edd749ac26c6322eafa8303e592df3c32ffd25
tree03da16311a7952acc77fe61bac075080288763f3
parent2b5bf11a5c533a36544f9529f9be03ff3de9c482
screenshot: get rid of the 3*w*h+18 TGA buffer; instead however always capture as BGRA from the GPU;
also cvar: r_drawworld (when 0, turns off world drawing), and scr_screenshot_alpha (try to save alpha channel with screenshot).
Together, with this one can make nice alpha transparent screenshots of player models.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10180 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cl_main.c
cl_screen.c
clvm_cmds.c
fs.c
fs.h
gl_backend.h
gl_rmain.c
image.c
image.h
image_png.c
image_png.h
render.h