Reply – Re: How to refer GL context in AWT Mouse Event
Your Name
Subject
Message
or Cancel
In Reply To
Re: How to refer GL context in AWT Mouse Event
— by n.j. n.j.
Dear gouessej,

I am very afraid to say, I have to check if the HiDPI mode is enabled and
scale like
 int x = mouseEvent.getX();
 int y = mouseEvent.getY();
 if (isOSX() && isHiDPIenabled() && isHiDPImode()) {
   x = x / 2;
   y = y / 2;
 }

I have to do like this?
or do you have cool and generic answers?