From ac4a015bdc16db637536b51a5b21ad530bd68a1e Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 3 Jul 2023 23:04:35 +0300 Subject: [PATCH] removed debug rect --- src/modern/main.c | 11 ----------- 1 file changed, 11 deletions(-) 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); -- 1.7.10.4