Project

General

Profile

Feature #54 ยป 0026-sdl3-Replace-SDL_RenderCopy-call-with-SDL_RenderText.patch

Marko Lindqvist, 12/12/2023 05:20 AM

View differences:

client/gui-sdl3/graphics.c
SDL_UpdateTexture(main_data.maintext, NULL,
main_surface->pixels, main_surface->pitch);
SDL_RenderClear(main_data.renderer);
SDL_RenderCopy(main_data.renderer, main_data.maintext, NULL, NULL);
SDL_RenderTexture(main_data.renderer, main_data.maintext, NULL, NULL);
SDL_RenderPresent(main_data.renderer);
render_dirty = FALSE;
    (1-1/1)