collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
884 stars 101 forks source link

TextWidget does not render glyphs #1

Closed collinsmith closed 8 years ago

collinsmith commented 8 years ago

TextWidget is not rendering glyphs for the text it represents. The rest of the Widget is being rendered correctly (e.g., debug bounds).

collinsmith commented 8 years ago

It seems there is a general issue with ShapeRenderer class drawing on top of a batch. I will need to refactor and remove ShapeRenderer in favor of Shape construct in Unifi which can draw outlines (similar to in Android)

collinsmith commented 8 years ago

It seems this intentional and built into OpenGL (cannot nest ShapeRenderer within a SpriteBatch)