From 30e3a433111998e9e825dac47fd16e9f92e10629 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 12 Dec 2019 23:04:58 +1100 Subject: [PATCH] [client] opengl: fixed failure to render full frame --- VERSION | 2 +- client/renderers/OpenGL/opengl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 18233aa6..b20ad87e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-19-g4843a278ff+1 \ No newline at end of file +B1-20-gdce6aaefea+1 \ No newline at end of file diff --git a/client/renderers/OpenGL/opengl.c b/client/renderers/OpenGL/opengl.c index 7768bd21..2cb4ccc7 100644 --- a/client/renderers/OpenGL/opengl.c +++ b/client/renderers/OpenGL/opengl.c @@ -1257,7 +1257,7 @@ static bool draw_frame(struct Inst * this) framebuffer_read_fn( this->frame, opengl_buffer_fn, - this->format.height * this->format.stride, + this->format.height * this->format.stride * 4, this );