Renamed SDL_HasWindowSurface to SDL_WindowHasSurface

Fixes https://github.com/libsdl-org/SDL/issues/9034
This commit is contained in:
Sam Lantinga 2024-02-09 16:46:58 -08:00
parent 1ec0e22bcd
commit f95b7ee4da
9 changed files with 16 additions and 8 deletions

View file

@ -899,7 +899,7 @@ SDL_Renderer *SDL_CreateRendererWithProperties(SDL_PropertiesID props)
goto error;
}
if (SDL_HasWindowSurface(window)) {
if (SDL_WindowHasSurface(window)) {
SDL_SetError("Surface already associated with window");
goto error;
}