[obs] fix monochrome cursor crop

This commit is contained in:
arcnmx 2021-05-31 15:56:37 -07:00 committed by Geoffrey McRae
parent 000d91afca
commit 186b0f1efd

View File

@ -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);