mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 15:38:29 +00:00
Use new parameter validation macro
This commit is contained in:
@@ -923,7 +923,7 @@ bool SDL_BlendLine(SDL_Surface *dst, int x1, int y1, int x2, int y2, SDL_BlendMo
|
||||
{
|
||||
BlendLineFunc func;
|
||||
|
||||
if (!SDL_SurfaceValid(dst)) {
|
||||
CHECK_PARAM(!SDL_SurfaceValid(dst)) {
|
||||
return SDL_InvalidParamError("SDL_BlendLine(): dst");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user