mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
[egl] fix performance issue with cursor updates and add todo message
This commit is contained in:
parent
2db26ae37e
commit
3ff712fea5
@ -495,6 +495,7 @@ void update_mouse_shape(struct Inst * this)
|
|||||||
|
|
||||||
case LG_CURSOR_MONOCHROME:
|
case LG_CURSOR_MONOCHROME:
|
||||||
{
|
{
|
||||||
|
DEBUG_INFO("TODO: Monochrome cursors are not yet supported by EGL");
|
||||||
#if 0
|
#if 0
|
||||||
const int hheight = height / 2;
|
const int hheight = height / 2;
|
||||||
uint32_t d[width * height];
|
uint32_t d[width * height];
|
||||||
@ -562,7 +563,6 @@ void update_mouse_shape(struct Inst * this)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this->mouseUpdate = true;
|
|
||||||
LG_UNLOCK(this->mouseLock);
|
LG_UNLOCK(this->mouseLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user