From dfaeb8441f942291a330ef5f2037b04838f1bf87 Mon Sep 17 00:00:00 2001 From: Francesco Boffa Date: Tue, 12 Nov 2024 21:04:42 +0100 Subject: [PATCH] Change flags_cstr to a new value used in SDL3 (#40) --- src/sdl3/video.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl3/video.rs b/src/sdl3/video.rs index 83d9869f0c..0650911415 100644 --- a/src/sdl3/video.rs +++ b/src/sdl3/video.rs @@ -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);