Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Raised binarization cutoff to eliminate alpha-blending of trollface.

  • Loading branch information
egottlieb committed Aug 16, 2010
1 parent 7733d4f commit 917957955790ed882f6e66764b6ad33f18ef7002
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testshape.c
@@ -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;

0 comments on commit 9179579

Please sign in to comment.