]> git.sesse.net Git - nageru/blobdiff - nageru/glwidget.cpp
Neutral white balance is (1,1,1), not (0.5,0.5,0.5). Probably irrelevant in practice...
[nageru] / nageru / glwidget.cpp
index 10d39cb97c7ff30fb4bdc94bdd3a6493bf63938b..d3e1d560d015016a0242c44b234b816e1c79774c 100644 (file)
@@ -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.