mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +00:00
[obs] fix monochrome cursor crop
This commit is contained in:
parent
000d91afca
commit
186b0f1efd
4
obs/lg.c
4
obs/lg.c
@ -581,12 +581,12 @@ static void lgVideoRender(void * data, gs_effect_t * effect)
|
||||
gs_draw_sprite_subregion(
|
||||
this->cursorTex , 0,
|
||||
0 , 0,
|
||||
this->cursorRect.cx, this->cursorRect.cy / 2 - 1);
|
||||
this->cursorRect.cx, this->cursorRect.cy / 2);
|
||||
|
||||
glLogicOp(GL_XOR);
|
||||
gs_draw_sprite_subregion(
|
||||
this->cursorTex , 0,
|
||||
0 , this->cursorRect.cy / 2 + 1,
|
||||
0 , this->cursorRect.cy / 2,
|
||||
this->cursorRect.cx, this->cursorRect.cy / 2);
|
||||
|
||||
glDisable(GL_COLOR_LOGIC_OP);
|
||||
|
Loading…
Reference in New Issue
Block a user