Skip to content

Commit

Permalink
Fix SDL3 typing
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Feb 17, 2025
1 parent 1258adc commit 203604a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24753,7 +24753,7 @@ class Bag:
dirs: Directories
prefs: Prefs
formats: Formats
renderer: sdl3.SDL_Renderer
renderer: sdl3.LP_SDL_Renderer
ddt: TDraw
fonts: Fonts
tls_context: ssl.SSLContext
Expand Down Expand Up @@ -25830,7 +25830,7 @@ def get_global_mouse() -> tuple[int, int]:
sdl3.SDL_GetGlobalMouseState(i_x, i_y)
return i_x.contents.value, i_y.contents.value

def get_window_position(t_window: sdl3.SDL_Window) -> tuple[int, int]:
def get_window_position(t_window: sdl3.LP_SDL_Window) -> tuple[int, int]:
i_y = pointer(c_int(0))
i_x = pointer(c_int(0))
sdl3.SDL_GetWindowPosition(t_window, i_x, i_y)
Expand Down

0 comments on commit 203604a

Please sign in to comment.