summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index 4bcd2e1..dada595 100644
--- a/render.c
+++ b/render.c
@@ -107,7 +107,7 @@ void render_update(xenon_rect r)
{
for(int j = r.y ; j < r.y + r.h ; j++)
{
- libGL.glRasterPos2i(r.x, r.h - j);
+ libGL.glRasterPos2i(r.x, r.h - j - 1);
libGL.glDrawPixels(r.w, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixels + (r.x + j * screen_rect.w) * 4 );
}
}