Skip to content

Commit

Permalink
Change flags_cstr to a new value used in SDL3 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobbo authored Nov 12, 2024
1 parent 71b1f45 commit dfaeb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl3/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ impl WindowBuilder {
sys::video::SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER,
raw_height.into(),
);
let flags_cstr = CString::new("flags").unwrap();
let flags_cstr = CString::new("SDL.window.create.flags").unwrap();
SDL_SetNumberProperty(props, flags_cstr.as_ptr(), self.window_flags.into());

let raw = sys::video::SDL_CreateWindowWithProperties(props);
Expand Down

0 comments on commit dfaeb84

Please sign in to comment.