You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PGL protected inner classes should have *public* constructors #6
Quirk in Java: If you have a protected inner class then the default constructor is also protected. Which means that I can't override certain methods in PGL.java (e.g., initSurface) without creating brand new versions of all the inner classes.
The easiest fix is just to add a public constructor to each of these inner classes.
I'm in the process of updating the stereographic library to use Processing 2.0 and I need to have access to setting the GLCapabilities. But because of the this protected inner class thing I can't pick and choose methods to override easily.
They haven't been public since that's not an API we've finalized or are planning to support directly. Andrés made a change in a recent commit that will take care of the issue for now, but just keep in mind that the interfaces may change in future releases.
Activity
benfry commentedon Feb 5, 2013
They haven't been public since that's not an API we've finalized or are planning to support directly. Andrés made a change in a recent commit that will take care of the issue for now, but just keep in mind that the interfaces may change in future releases.
ignoring unnecessary imports, fixes processing#6
Merge pull request #6 from codeanticode/master
github-actions commentedon Jun 18, 2021
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.