Simplify SDL_BLENDMODE_MUL
This commit is contained in:
1 parent
bd70ce7f94
commit
7d26ba754a
4 files changed
+2
-13
No files matched your search
@@ -178,10 +178,6 @@ void SDL_Blit_Slow(SDL_BlitInfo *info)
|
||||
if (dstB > 255) {
|
||||
dstB = 255;
|
||||
}
|
||||
dstA = ((srcA * dstA) + (dstA * (255 - srcA))) / 255;
|
||||
if (dstA > 255) {
|
||||
dstA = 255;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (FORMAT_HAS_ALPHA(dstfmt_val)) {
|
||||
|
||||
Reference in new issue
Block a user