From 2832792fedc428d080167278a22f4a6ff955a52b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 16 Jul 2018 21:55:19 -0400 Subject: [PATCH] Corrects improper use of doubles. --- Outputs/CRT/Internals/CRTOpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/CRT/Internals/CRTOpenGL.cpp b/Outputs/CRT/Internals/CRTOpenGL.cpp index 6e630d04f..6510dc471 100644 --- a/Outputs/CRT/Internals/CRTOpenGL.cpp +++ b/Outputs/CRT/Internals/CRTOpenGL.cpp @@ -229,7 +229,7 @@ void OpenGLOutputBuilder::draw_frame(unsigned int output_width, unsigned int out last_output_height_ = output_height; // Configure a right gutter to crop the right-hand 2% of the display. - right_overlay_.reset(new OpenGL::Rectangle(output_shader_program_->get_right_extent() * 0.98, -1.0, 1.0, 2.0)); + right_overlay_.reset(new OpenGL::Rectangle(output_shader_program_->get_right_extent() * 0.98f, -1.0f, 1.0f, 2.0f)); } output_shader_program_->bind();