Fixed a bug in X11 shaping that refused to use color-key mode.
This commit is contained in:
parent
5f2c8902e0
commit
25775cdb23
3 changed files with 6 additions and 4 deletions
|
@ -89,6 +89,9 @@ typedef enum {
|
|||
/** \brief A color key is applied. */
|
||||
ShapeModeColorKey
|
||||
} WindowShapeMode;
|
||||
|
||||
#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha)
|
||||
|
||||
/** \brief A union containing parameters for shaped windows. */
|
||||
typedef union {
|
||||
/** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue