[client] huge rewrite of renderer API deal with mouse updates

This commit is contained in:
Geoffrey McRae
2017-12-13 02:22:47 +11:00
parent a157f40690
commit 893bb7e603
6 changed files with 251 additions and 109 deletions

View File

@@ -37,7 +37,7 @@ bool lgr_basic_initialize(void ** opaque, const LG_RendererParams params, const
this->renderer = SDL_CreateRenderer(params.window, -1,
SDL_RENDERER_ACCELERATED |
(params.vsync ? SDL_RENDERER_PRESENTVSYNC : 0)
SDL_RENDERER_PRESENTVSYNC
);
if (!this->renderer)