Skip to content
Commit 9a754434 authored by Robert Mader's avatar Robert Mader
Browse files

gl-renderer: Fix limited range quantization



The highest possible value is 255, not 256, like in previous part of the
calculation. While on it, use the values directly, making the code more
readable.

Fix suggested by Pekka Paalanen and Loïc Molinari.

Signed-off-by: default avatarRobert Mader <robert.mader@collabora.com>
parent fa587e3f
Pipeline #1235736 passed with stages
in 4 minutes and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment