UnicodeFont bug

Issue #4 new
Anonymous created an issue

http://stackoverflow.com/questions/10064804/java-lwjgl-slick-unicodefont-acting-up demonstrates a bug in Slick2D's UnicodeFont class.

The accepted solution involves adding the line

{{{

!java

GL11.glDisable(GL11.GL_TEXTURE_2D); }}}

after a call to UnicodeFont.drawString.

Can you investigate this issue please?

Comments (1)

  1. davedes

    This issue most likely has to do with texture states. Instead of disabling textures every frame, try doing the following at the end of your init() method:

    TextureImpl.bindNone();
    GL11.glDisable(GL11.GL_DEPTH_TEST); //this may also be necessary
    
  2. Log in to comment