[client] egl: keep the mouse cursor 1:1 when downscaling
This keeps the cursor a usable size when the guest is running a high resolution and downscaling (ie, 4K -> FHD).
This commit is contained in:
1 parent
74444f8eed
commit
d69069fb09
8 files changed
+137
-52
No files matched your search
@@ -338,7 +338,8 @@ bool opengl_onMouseShape(LG_Renderer * renderer, const LG_RendererCursor cursor,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool opengl_onMouseEvent(LG_Renderer * renderer, const bool visible, const int x, const int y)
|
||||
bool opengl_onMouseEvent(LG_Renderer * renderer, const bool visible,
|
||||
int x, int y, const int hx, const int hy)
|
||||
{
|
||||
struct Inst * this = UPCAST(struct Inst, renderer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user