From 92517d741356f5bd269ea1337ce00b134fe32ec2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 13 Sep 2018 00:35:54 +0200 Subject: [PATCH] fixed a bug with rendering renderbuffer to SDL_Surface (vid.yres used instead of y) --- renderbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderbuffer.cpp b/renderbuffer.cpp index 7135888c..405476c6 100644 --- a/renderbuffer.cpp +++ b/renderbuffer.cpp @@ -120,7 +120,7 @@ SDL_Surface *renderbuffer::render() { GLERR("readPixels"); for(int iy=0; iy