summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/GLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-08-19 13:14:24 +0200
committerSven Gothel <[email protected]>2019-08-19 13:14:24 +0200
commit7ec068e0c95a230101450cc80031f76770a0cd49 (patch)
tree8abcdad69146b93f56799a94ef84507b6727c684 /src/jogl/classes/com/jogamp/opengl/GLContext.java
parent24b75b2e91ec5f101b19fa24aa3804adb3819ebf (diff)
Bug 1363: Java 11: Resolve unsupported JAWTUtil.getMonitorDisplayID(..)
Previous commits removed access to OSX's GraphicsDevice.getCGDisplayID() on Java9+, avoiding illegal reflective access. Here we JAWTUtil.getMonitorDisplayID(..) simply returns null if Java9 or !OSX, so the sole NewtFactory caller falls back to the alternative working solution. Orig patch Wade Walker: This was used on Mac OS only to create a MonitorDevice in NewtFactoryAWT. But there was a fallback method for creating MonitorDevice, and testing with TestGearsES2GLJPanelAWT shows that the fallback method seems to give identical results on Mac, so changed to just use the fallback method (which is now the only method) everywhere. This gets rid of an illegal reflective access.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/GLContext.java')
0 files changed, 0 insertions, 0 deletions