Răsfoiți Sursa

Fixed lightblend mode.

Brucey 3 ani în urmă
părinte
comite
00fad7617c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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