mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-05 01:46:25 +00:00
Raised binarization cutoff to eliminate alpha-blending of trollface.
This commit is contained in:
parent
9f396e2964
commit
781d130602
@ -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…
Reference in New Issue
Block a user