spice: scale mouse input based on host DPI information

This commit is contained in:
Quantum
2021-01-04 16:06:44 -05:00
committed by Geoffrey McRae
parent 7e4d323427
commit a172d79f66
2 changed files with 8 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ struct AppState
SDL_Rect border;
SDL_Point srcSize;
LG_RendererRect dstRect;
float mouseScale;
uint32_t mouseScalePercent;
const LG_Renderer * lgr;
void * lgrData;