opengl-tutorials/ogl

glreadpixels picking up wrong color

Opened this issue · 0 comments

Hello,

I am trying to use the "picking with an OpenGL hack" in misc05_picking/misc05_picking_slow_easy.cpp, but I have a sidebar in my window while the clickable area has coordinates on the right side of the window only. When I click on the clickable area, the coordinates scale to the whole window - how to stop this from happening?