чување 49f5f2d6d3d5e2795aded6cd5d3b74278584575f
родитељ 4c2f3c5791755b6132f0802c7b957030156c1e44
Аутор: Страхиња Радић <sr@strahinja.org>
Датум: Sat, 11 Oct 2025 14:05:31 +0200
lav-sdl.c: Correct error message
Diffstat:
измењених датотека: 1, додавања: 1(+), брисања: 1(-)
diff --git a/lav-sdl.c b/lav-sdl.c
@@ -326,7 +326,7 @@ draw_background(SDL_FRect* bg_rect, SDL_FRect* cell_rect, SDL_FRect* dest_rect)
SDL_TEXTUREACCESS_TARGET, bg_rect->w, bg_rect->h);
if (!background)
{
- print_error("SDL_CreateTextureFromSurface failed: %s",
+ print_error("SDL_CreateTexture failed: %s",
SDL_GetError());
exit(1);
}