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

This commit is contained in:
zicodxx 2013-01-08 19:12:36 +01:00
parent fb9518dd97
commit bf9cdcb04f
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ main/inferno.c: Disable fullscreen toggling via ALT+ENTER if Game_wind is on top
arch/sdl/mouse.c, d2x.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
main/ai2.c: Corrected ai_fire_laser_at_player() syntax where boss should not fire when Boss_dying_start_time != 0 and boss flag is set - patch by derhass
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: