]> git.rm.cloudns.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Sep 2011 17:26:54 +0000 (17:26 +0000)
commite5a3f9b08901300af64ee36273deaba8f6c49935
treef2344f93647f00b23a0d8a3c4ba25839affe5144
parentdc4219418b6d44180d5b467189262d79d0b99d14
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
model_shared.c