Login  Register

Re: Trying to learn how to use jogl. Need help!

Posted by Wade Walker on Aug 30, 2014; 5:58pm
URL: https://forum.jogamp.org/Trying-to-learn-how-to-use-jogl-Need-help-tp4032957p4032986.html

OK, long story short, just change getWidth()/getHeight() to getSurfaceWidth()/getSurfaceHeight(). These got changed recently in https://jogamp.org/bugzilla/show_bug.cgi?format=multiple&id=741, and I wasn't paying close enough attention to realize that meant I needed to change the wiki examples :)

Let me know if you have any remaining problems.