diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c index 88ca07e9f16221c595829800e2275e75ab2a2e6d..4a6d39167d27d4f5d41ce58895d782e4726ae335 100644 --- a/src/conio/sdl_con.c +++ b/src/conio/sdl_con.c @@ -1402,11 +1402,11 @@ static void sdl_video_event_thread(void *data) old_next = list->next; if (list->next == NULL) { - sdl.UpdateTexture(texture, NULL, list->data, list->rect.width * sizeof(uint32_t)); src.x = 0; src.y = 0; src.w = list->rect.width; src.h = list->rect.height; + sdl.UpdateTexture(texture, &src, list->data, list->rect.width * sizeof(uint32_t)); sdl.RenderCopy(renderer, texture, &src, NULL); } bitmap_drv_free_rect(list);