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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

xmly
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,