]> git.xonotic.org Git - xonotic/darkplaces.git/commit
now that DDS loading is consistent with RGBA loading again, let's properly set TEXF_A...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Sep 2011 17:26:54 +0000 (17:26 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 11 Sep 2011 13:57:03 +0000 (15:57 +0200)
commit9ab2c6b1a6a65eb6442ec6a77116b21f1400cc52
treef2344f93647f00b23a0d8a3c4ba25839affe5144
parentc1c373faa751917d0dbf142956a92a07dbc227aa
now that DDS loading is consistent with RGBA loading again, let's properly set TEXF_ALPHA _only_ if the blendfunc uses alpha

THIS BREAKS blendfunc add WITH ALPHA CHANNEL, AS THE ALPHA CHANNEL IS NOW PROPERLY IGNORED.

Use blendfunc GL_SRC_ALPHA GL_ONE if you want to add with alpha channel!

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11328 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e5a3f9b08901300af64ee36273deaba8f6c49935
model_shared.c