Login  Register

How to draw texts to GLCanvas using gl.glGenLists and glCallLists

Posted by xmly on May 30, 2011; 6:01pm
URL: https://forum.jogamp.org/How-to-draw-texts-to-GLCanvas-using-gl-glGenLists-and-glCallLists-tp3002733.html

Hi,

I am facing the problem of failure to draw texts using glGenLists/glCallLists, only a black screen is shown. Does anyone know the reason?

Below are the steps I followed,
...
gl.glGenLists(256);
......
gl.glNewList....
gl.glListBase();
....

gl.glCallLists


Thanks,