File tree Expand file tree Collapse file tree 2 files changed +221
-111
lines changed Expand file tree Collapse file tree 2 files changed +221
-111
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ interface
9292{ $I SDL_blendmode.inc} // 3.1.6-prev
9393{ $I SDL_iostream.inc} // 3.2.0
9494{ $I SDL_asyncio.inc} // 3.2.0
95- { $I SDL_surface.inc} // 3.1.6-prev
95+ { $I SDL_surface.inc} // 3.2.20
9696{ $I SDL_video.inc} // 3.1.6-prev
9797{ $I SDL_timer.inc} // 3.1.6-prev
9898{ $I SDL_error.inc} // 3.1.6-prev
@@ -311,6 +311,12 @@ function SDL_SCANCODE_TO_KEYCODE(X: TSDL_Scancode): TSDL_Keycode;
311311 Result:=X or SDLK_SCANCODE_MASK;
312312end ;
313313
314+ { Macros from SDL_surface.h }
315+ function SDL_MUSTLOCK (Const S: PSDL_Surface): Boolean;
316+ begin
317+ Result:=(S^.flags and SDL_SURFACE_LOCK_NEEDED)=SDL_SURFACE_LOCK_NEEDED;
318+ end ;
319+
314320{ Macros from SDL_video.h }
315321function SDL_WINDOWPOS_UNDEFINED_DISPLAY (X: Integer): Integer;
316322begin
You can’t perform that action at this time.
0 commit comments