Raised binarization cutoff to eliminate alpha-blending of trollface.
This commit is contained in:
parent
9f396e2964
commit
781d130602
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ int main(int argc,char** argv) {
|
||||||
format = pictures[i].surface->format;
|
format = pictures[i].surface->format;
|
||||||
if(format->Amask != 0) {
|
if(format->Amask != 0) {
|
||||||
pictures[i].mode.mode = ShapeModeBinarizeAlpha;
|
pictures[i].mode.mode = ShapeModeBinarizeAlpha;
|
||||||
pictures[i].mode.parameters.binarizationCutoff = 1;
|
pictures[i].mode.parameters.binarizationCutoff = 255;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pictures[i].mode.mode = ShapeModeColorKey;
|
pictures[i].mode.mode = ShapeModeColorKey;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue