Explorar o código

Fixed lightblend mode.

Brucey %!s(int64=3) %!d(string=hai) anos
pai
achega
00fad7617c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sdlsurface.mod/common.bmx

+ 1 - 1
sdlsurface.mod/common.bmx

@@ -186,5 +186,5 @@ end rem
 Const SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA:Int = $A
 
 Const BLENDMODE_LIGHTBLEND:Int = SDL_BLENDOPERATION_ADD Shl 0 | SDL_BLENDFACTOR_SRC_COLOR Shl 4 | SDL_BLENDFACTOR_ONE Shl 8 | ..
-	SDL_BLENDOPERATION_ADD Shl 16 | SDL_BLENDFACTOR_SRC_ALPHA Shl 20 | SDL_BLENDFACTOR_SRC_ALPHA Shl 24
+	SDL_BLENDOPERATION_ADD Shl 16 | SDL_BLENDFACTOR_SRC_COLOR Shl 20 | SDL_BLENDFACTOR_DST_COLOR Shl 24