added vid_sRGB cvar, this replaces the r_texture_sRGB* cvars and
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 May 2011 12:36:28 +0000 (12:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 May 2011 12:36:28 +0000 (12:36 +0000)
commit72febe336719285ecd4f855454d1e90f7aa99834
tree78cdc0a13a898aa9f434171fdeacb83fd71a3a2c
parent0b21c729f7b68ebc477c7f924771c7af8cd960e0
added vid_sRGB cvar, this replaces the r_texture_sRGB* cvars and
modifies all texture loading (including bsp, mdl, spr, lmp, as well as
external textures) and the output gamma to achieve sRGB corrected
rendering, not all renderpaths support this and the feature will be
automatically disabled on such renderpaths

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11116 d7cf8633-e32d-0410-b094-e92efae38249
cl_particles.c
gl_draw.c
gl_rmain.c
model_brush.c
r_sky.c
render.h
vid.h
vid_sdl.c
vid_shared.c
vid_wgl.c