]> git.xonotic.org Git - xonotic/darkplaces.git/commit
track if a cachepic has alpha, and turn off depth write if it does; also use alpha...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Jul 2010 12:20:39 +0000 (12:20 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 27 Jul 2010 19:19:04 +0000 (21:19 +0200)
commite87f3fba3724f3bd2718f0a094124d56c88e2720
tree76d03d99274c7c16022562d9e8a036986409abb1
parent1e22f0f7c2459339931359024024ba2788750789
track if a cachepic has alpha, and turn off depth write if it does; also use alpha-less blendfuncs if all alpha values are >= 1 and the texture has no alpha (might be a slight performance increase, but mainly to help R_BeginPolygon in 3D space)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10360 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=303e5f6cadc3c1aca840b0475cdddfab90317a8d
clvm_cmds.c
draw.h
gl_draw.c