diff options
Diffstat (limited to 'render.c')
-rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); } } |