Re: how to use glDraw*Instanced()
Posted by toruwest on Oct 07, 2014; 7:16am
URL: https://forum.jogamp.org/how-to-use-glDraw-Instanced-tp4033277p4033281.html
I used GLJPanel with JFrame, so I replace the GLJPanel by GLCanvas. As the result, the exception has gone.
Replacing JFrame by GLWindow also solve the problem.
But the screen is blank.... apparently there is another problem with my code.
I will try to simplfy the problem by removing the VBM loader and adding code for rendering some triangles.