File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -96,5 +96,4 @@ impl ClipboardUtil {
96
96
pub fn has_primary_selection_text ( & self ) -> bool {
97
97
unsafe { sys:: SDL_HasPrimarySelectionText ( ) == sys:: SDL_bool :: SDL_TRUE }
98
98
}
99
-
100
99
}
Original file line number Diff line number Diff line change @@ -1564,7 +1564,9 @@ impl Window {
1564
1564
binarization_cutoff : u8 ,
1565
1565
) -> Result < ( ) , i32 > {
1566
1566
let mode = sys:: WindowShapeMode :: ShapeModeBinarizeAlpha ;
1567
- let parameters = sys:: SDL_WindowShapeParams { binarizationCutoff : binarization_cutoff } ;
1567
+ let parameters = sys:: SDL_WindowShapeParams {
1568
+ binarizationCutoff : binarization_cutoff,
1569
+ } ;
1568
1570
let mut shape_mode = sys:: SDL_WindowShapeMode { mode, parameters } ;
1569
1571
let result = unsafe {
1570
1572
sys:: SDL_SetWindowShape ( self . context . raw , shape. as_ref ( ) . raw ( ) , & mut shape_mode)
You can’t perform that action at this time.
0 commit comments