From 59d766b325f811ba42dbd6c5b152ef81a479d60b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 9 May 2016 19:17:03 -0400 Subject: [PATCH] Rationalised buffer sizes. --- Outputs/CRT/Internals/CRTConstants.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Outputs/CRT/Internals/CRTConstants.hpp b/Outputs/CRT/Internals/CRTConstants.hpp index 421274c05..98c1fc830 100644 --- a/Outputs/CRT/Internals/CRTConstants.hpp +++ b/Outputs/CRT/Internals/CRTConstants.hpp @@ -37,11 +37,11 @@ const GLsizei InputBufferBuilderHeight = 512; // This is the size of the intermediate buffers used during composite to RGB conversion const GLsizei IntermediateBufferWidth = 2048; -const GLsizei IntermediateBufferHeight = 512; +const GLsizei IntermediateBufferHeight = 1024; // Some internal buffer sizes -const GLsizeiptr OutputVertexBufferDataSize = 6 * 8 * 312; // a multiple of 6 * OutputVertexSize -const GLsizeiptr SourceVertexBufferDataSize = 2 * 16 * 312; // a multiple of 2 * SourceVertexSize +const GLsizeiptr OutputVertexBufferDataSize = 6 * 8 * IntermediateBufferHeight; // a sufficient multiple of 6 * OutputVertexSize to draw from the entirety of an intermediate buffer +const GLsizeiptr SourceVertexBufferDataSize = 2 * 16 * IntermediateBufferHeight * 2; // a multiple of 2 * SourceVertexSize } }