Feature #54 ยป 0026-sdl3-Replace-SDL_RenderCopy-call-with-SDL_RenderText.patch
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;
|