gdifont.cs (2)

  • If I use GDITextureFont in my program, I cannot use DisplayList anymore. You can recreate the bug easily using the gdifont.cs example, just add the following two lines to the end of function "public MyView(MyView toShare)" to create an empty display list (and never call it):
    GL.glNewList(500, GL.GL_COMPILE);
    Then, "run gdifont". All the fonts are not transparent anymore!

    I tried replace "500" with other numbers and GL.glGenLists(1). Same problem: not transparent.

    Thanks for any help.

    Jeff Ma