Skip to content

Commit b53cb4c

Browse files
committed
Merge branch 'jquorning-fix-get_surface'
2 parents 306a414 + 48f274f commit b53cb4c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/video/sdl-video-windows.adb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@ package body SDL.Video.Windows is
337337

338338
S : constant SDL.Video.Surfaces.Internal_Surface_Pointer := SDL_Get_Window_Surface (Self.Internal);
339339

340-
function Make_Surface_From_Pointer (S : in SDL.Video.Surfaces.Internal_Surface_Pointer)
340+
function Make_Surface_From_Pointer (S : in SDL.Video.Surfaces.Internal_Surface_Pointer;
341+
Owns : in Boolean := False)
341342
return SDL.Video.Surfaces.Surface with
342343
Convention => Ada,
343344
Import => True;

0 commit comments

Comments
 (0)