mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 09:36:14 -05:00
Raised binarization cutoff to eliminate alpha-blending of trollface.
This commit is contained in:
@@ -85,7 +85,7 @@ int main(int argc,char** argv) {
|
||||
format = pictures[i].surface->format;
|
||||
if(format->Amask != 0) {
|
||||
pictures[i].mode.mode = ShapeModeBinarizeAlpha;
|
||||
pictures[i].mode.parameters.binarizationCutoff = 1;
|
||||
pictures[i].mode.parameters.binarizationCutoff = 255;
|
||||
}
|
||||
else {
|
||||
pictures[i].mode.mode = ShapeModeColorKey;
|
||||
|
||||
Reference in New Issue
Block a user