From: John Tsiombikas Date: Mon, 3 Jul 2023 20:04:35 +0000 (+0300) Subject: removed debug rect X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=ac4a015bdc16db637536b51a5b21ad530bd68a1e;p=retroray removed debug rect --- diff --git a/src/modern/main.c b/src/modern/main.c index 4115d5f..91178bf 100644 --- a/src/modern/main.c +++ b/src/modern/main.c @@ -129,18 +129,7 @@ void app_swap_buffers(void) glDrawPixels(win_width, win_height, GL_BGRA, GL_UNSIGNED_BYTE, framebuf); glDisable(GL_ALPHA_TEST); - glDisable(GL_DEPTH_TEST); - glDisable(GL_LIGHTING); - glBegin(GL_LINE_LOOP); - glColor3f(1, 0, 0); - glVertex2f(0, 0); - glVertex2f(win_width, 0); - glVertex2f(win_width, win_height); - glVertex2f(0, win_height); - glEnd(); - if(rband.width | rband.height) { - glPushAttrib(GL_ENABLE_BIT); glDisable(GL_DEPTH_TEST); glDisable(GL_LIGHTING);