nobody wrote on Wednesday, April 16, 2008:
Hi,
It is possible to show normal text in a GLFW window? Normally I use:
Gl.glPushAttrib\(Gl.GL\_LIST\_BIT\);
Gl.glListBase\(\_fontbase - 32\);
byte\[\] textbytes = new byte\[text.Length\];
for\( int i = 0; i < text.Length; i++ \) textbytes\[i\] = \(byte\)text\[i\];
Gl.glCallLists\(text.Length, Gl.GL\_UNSIGNED\_BYTE, textbytes\);
Gl.glPopAttrib\(\);
But to create the display lists I than need to have a Device Context:
Wgl.wglUseFontBitmaps\(hDC, 32, 96, \_fontbase\)
How I can I do that using GLFW?
Thx, Marc