diff --git a/src/render/amigaos4/SDL_rc_texture.c b/src/render/amigaos4/SDL_rc_texture.c index a39f3f400d6c0..57020a6391d56 100644 --- a/src/render/amigaos4/SDL_rc_texture.c +++ b/src/render/amigaos4/SDL_rc_texture.c @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2023 Sam Lantinga + Copyright (C) 1997-2024 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -295,6 +295,11 @@ OS4_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture) } } +void +OS4_SetTextureScaleMode(SDL_Renderer *renderer, SDL_Texture *texture, SDL_ScaleMode scaleMode) +{ +} + int OS4_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture) { diff --git a/src/render/amigaos4/SDL_rc_texture.h b/src/render/amigaos4/SDL_rc_texture.h index a6ec5cb5aa66f..dd94081ce56bc 100644 --- a/src/render/amigaos4/SDL_rc_texture.h +++ b/src/render/amigaos4/SDL_rc_texture.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2023 Sam Lantinga + Copyright (C) 1997-2024 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -52,6 +52,8 @@ extern void OS4_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture); extern void OS4_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture); +extern void OS4_SetTextureScaleMode(SDL_Renderer *renderer, SDL_Texture *texture, SDL_ScaleMode scaleMode); + #endif /* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/render/amigaos4/SDL_render_compositing.c b/src/render/amigaos4/SDL_render_compositing.c index 632685b191396..0797ed78f8985 100644 --- a/src/render/amigaos4/SDL_render_compositing.c +++ b/src/render/amigaos4/SDL_render_compositing.c @@ -1149,6 +1149,7 @@ OS4_CreateRenderer(SDL_Window * window, Uint32 flags) renderer->UpdateTexture = OS4_UpdateTexture; renderer->LockTexture = OS4_LockTexture; renderer->UnlockTexture = OS4_UnlockTexture; + renderer->SetTextureScaleMode = OS4_SetTextureScaleMode; renderer->SetRenderTarget = OS4_SetRenderTarget; renderer->QueueSetViewport = OS4_QueueNop; renderer->QueueSetDrawColor = OS4_QueueNop;