diff --git a/src/modules/graphics/opengl/Quad.cpp b/src/modules/graphics/opengl/Quad.cpp index d8efc470d..b6b0eaf10 100644 --- a/src/modules/graphics/opengl/Quad.cpp +++ b/src/modules/graphics/opengl/Quad.cpp @@ -43,6 +43,8 @@ namespace opengl void Quad::refresh(const Viewport & v, int sw, int sh) { + sw = next_p2(sw); + sh = next_p2(sh); viewport = v; vertices[0].x = 0;