SDL_FontCache icon indicating copy to clipboard operation
SDL_FontCache copied to clipboard

renderer reset events

Open mnabakker opened this issue 6 years ago • 0 comments

Great library, thank you for sharing this. SDL_FontCache does not seem to have an option for SDL event types SDL_RENDER_TARGETS_RESET(>= SDL 2.0.2) and SDL_RENDER_DEVICE_RESET(>= SDL 2.0.4). I added a function to handle both events https://github.com/mnabakker/SDL_FontCache/commit/6a269a734d8239a87d8420030e3c2e21486bed56 , but it makes no effort to optimize for SDL_RENDER_TARGETS_RESET.

mnabakker avatar Jan 18 '19 15:01 mnabakker