mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 08:36:28 +00:00
[client] egl: fix cursor regression
This commit is contained in:
parent
b6c8d3fae5
commit
e1fa6b4057
@ -338,6 +338,7 @@ void egl_cursor_render(EGL_Cursor * cursor)
|
|||||||
{
|
{
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
|
|
||||||
|
egl_shader_use(cursor->shader);
|
||||||
glUniform4f(cursor->uMousePos, cursor->x, cursor->y, cursor->w, cursor->h);
|
glUniform4f(cursor->uMousePos, cursor->x, cursor->y, cursor->w, cursor->h);
|
||||||
glBlendFunc(GL_ONE,GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_ONE,GL_ONE_MINUS_SRC_ALPHA);
|
||||||
egl_model_render(cursor->model);
|
egl_model_render(cursor->model);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user