Browse Source

Glyph wasn't actually Volatile and thus didn't handle resolution changes very well, this is fixed

Bill Meltsner 15 years ago
parent
commit
d0391f9484
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/graphics/opengl/Glyph.h

+ 2 - 1
src/modules/graphics/opengl/Glyph.h

@@ -27,6 +27,7 @@
 #include <common/Matrix.h>
 #include <font/GlyphData.h>
 #include <graphics/Drawable.h>
+#include <graphics/Volatile.h>
 
 // OpenGL
 #include "GLee.h"
@@ -39,7 +40,7 @@ namespace graphics
 namespace opengl
 {
 	
-	class Glyph : public Drawable
+	class Glyph : public Drawable, public Volatile
 	{
 	private: