Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Raised binarization cutoff to eliminate alpha-blending of trollface.
Browse files Browse the repository at this point in the history
  • Loading branch information
egottlieb committed Aug 16, 2010
1 parent 7733d4f commit 9179579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testshape.c
Expand Up @@ -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;
Expand Down

0 comments on commit 9179579

Please sign in to comment.