Changed additive color blending func to GL_ONE, GL_ONE - patch by derhass

This commit is contained in:
zicodxx 2013-01-08 19:12:33 +01:00
parent fb9c3b8cce
commit 39aa112e45
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ main/kconfig.c: Added default keys for weapon cycling similar to Descent 2 and r
main/inferno.c: Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame
arch/sdl/mouse.c, d1x.ini, include/args.h, main/inferno.c, misc/args.c: Added option to hide mouse cursor (without disabling the mouse completely)
SConstruct: Patch by A Future Pilot to hopefully fix bug which prevented building source within MinGW if Visual Studio installed
arch/ogl/ogl.c: Changed additive color blending func to GL_ONE, GL_ONE - patch by derhass
20130103
--------

View file

@ -1183,7 +1183,7 @@ void ogl_set_blending()
glBlendFunc( GL_SRC_ALPHA, GL_ONE );
break;
case GR_BLEND_ADDITIVE_C:
glBlendFunc( GL_SRC_COLOR, GL_ONE );
glBlendFunc( GL_ONE, GL_ONE );
break;
case GR_BLEND_NORMAL:
default: