]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
With MATERIALFLAG_ALPHAGEN_VERTEX we should basically always use MATERIALFLAG_ALPHA...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 22:46:47 +0000 (22:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 22:46:47 +0000 (22:46 +0000)
commit311fb92b9f69eef090638eb8142d8e1ea89046e1
treef9e10214a84ff3ae18e0606d2a2275ef36dd70ce
parentc7a7ed38452e860a66ab543fa928eb00e178d417
With MATERIALFLAG_ALPHAGEN_VERTEX we should basically always use MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW - this should fix UI rendering issues with alpha being ignored on DrawQ_Pic et al.

Minor shuffling of flag order in lightning beam texture loading to be consistent with the other uses - no behavior changes.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12579 d7cf8633-e32d-0410-b094-e92efae38249
gl_draw.c
gl_rmain.c
model_brush.h
r_lightning.c