projects
/
retroray
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe159f
)
removed debug rect
author
John Tsiombikas
<nuclear@member.fsf.org>
Mon, 3 Jul 2023 20:04:35 +0000
(23:04 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Mon, 3 Jul 2023 20:04:35 +0000
(23:04 +0300)
src/modern/main.c
patch
|
blob
|
history
diff --git
a/src/modern/main.c
b/src/modern/main.c
index
4115d5f
..
91178bf
100644
(file)
--- 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);