From 9d12ca691f118900abcc5e082e465586a08b83f1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 9 Nov 2019 14:59:16 -0500 Subject: [PATCH] Makes meaning of 2048 here explicit. --- Outputs/OpenGL/ScanTarget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/OpenGL/ScanTarget.cpp b/Outputs/OpenGL/ScanTarget.cpp index 606c57531..96a9a1e40 100644 --- a/Outputs/OpenGL/ScanTarget.cpp +++ b/Outputs/OpenGL/ScanTarget.cpp @@ -355,7 +355,7 @@ void ScanTarget::setup_pipeline() { // TODO: flush output. data_type_size_ = data_type_size; - write_area_texture_.resize(2048*2048*data_type_size_); + write_area_texture_.resize(WriteAreaWidth*WriteAreaHeight*data_type_size_); write_pointers_.scan_buffer = 0; write_pointers_.write_area = 0;