The entire method dissapeared. WTF(in a good way)?
I’m not entirely sure if I had ever done this before but it works and I thought some people might like to explain this to me.
Here’s my wrapper for GLDrawable:
Here’s the video class. It sets the GLDrawable inside a wrapper and sends it off to the game project class.
Here’s the box class which is supposed to draw a box. Notice how “getData” returns JOGL’s “GLDrawable”?
This is the game project class which recieves the GLData sent by the video class, notice how “getData” doesn’t even exist.
I didn’t think this would be possible but hell it sure does work.