Login  Register

discrepancy in viewport size under El Capitan

Posted by camac on Aug 23, 2016; 11:10pm
URL: https://forum.jogamp.org/discrepancy-in-viewport-size-under-El-Capitan-tp4037083.html

Shouldn’t GLCanvas#getWidth() produce the same result as GLAutoDrawable#getSurfaceWidth()? When I compare the output from these methods, I find the former to be exactly a factor of 2 smaller than the latter. The same is true for GLCanvas#getHeight() and GLAutoDrawable#getSurfaceHeight(). I’m running JOGL 2.3.2 on a MacBook Pro under OS X El Capitan 10.11.6 (latest version). The GLCanvas is instantiated using the default constructor with no arguments. What am I missing here?
 
Curt Moyer
[hidden email]