Skip to content

plugins/colorpicker: make sure values aren't clipped, and don't require OpenGL 4.5

Xaver Hugl requested to merge work/zamundaaa/colorpicker-2 into master

Commit 1: read the pixels as float instead of uint8_t, to ensure they're not clipped

Commit 2: use glReadPixels. Having the size be checked is completely unnecessary when we only ever read a single pixel anyways, and it requires OpenGL 4.5...

Merge request reports