luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nativeWindow.MouseMove Y coordinates are inverted

matyasforian opened this issue · comments

The zero Y coordinate is at the bottom of the window, its max value at the top. Is this intentional?
OpenGL.NET 0.7.1 on Windows 10.

Yep, it is intentional.

I did this in the past 10 years for every new project. The idea is to set the window origin to the bottom-left, as glViewport does.

OK, thanks!