From c8a83bd9aaf2bebe739865b23c636455b4b18ce9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 9 Feb 2020 14:40:38 +0100 Subject: [PATCH] Neutral white balance is (1,1,1), not (0.5,0.5,0.5). Probably irrelevant in practice currently, though. --- nageru/glwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nageru/glwidget.cpp b/nageru/glwidget.cpp index 10d39cb..d3e1d56 100644 --- a/nageru/glwidget.cpp +++ b/nageru/glwidget.cpp @@ -72,7 +72,7 @@ void GLWidget::grab_white_balance(unsigned channel, unsigned x, unsigned y) { // Set the white balance to neutral for the grab. It's probably going to // flicker a bit, but hopefully this display is not live anyway. - global_mixer->set_wb(output, 0.5, 0.5, 0.5); + global_mixer->set_wb(output, 1.0, 1.0, 1.0); global_mixer->wait_for_next_frame(); // Mark that the next paintGL() should grab the given pixel. -- 2.39.2