From 186b0f1efd2ccada38ac144ddaf7d181827078de Mon Sep 17 00:00:00 2001 From: arcnmx Date: Mon, 31 May 2021 15:56:37 -0700 Subject: [PATCH] [obs] fix monochrome cursor crop --- obs/lg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs/lg.c b/obs/lg.c index f2b3b9ca..3e77cadf 100644 --- a/obs/lg.c +++ b/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);