]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
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)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 9 May 2010 10:51:02 +0000 (12:51 +0200)
commit39c4fcd8bfa6a68277054d79062446cf2156c14a
tree0379e14b882c1fa709038c295eb275cc74dec758
parentd7f68b624a40366715b11e5d5d4a023adbb453fe
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
::stable-branch::merge=c3edd749ac26c6322eafa8303e592df3c32ffd25
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