Add padding around every glyph in a Font texture, fixing the fringing seen with scaled text (actually fixes issue #321)

This commit is contained in:
Bill Meltsner
2012-01-08 20:59:52 -06:00
parent 2077408351
commit 21516fc658
2 changed files with 20 additions and 7 deletions
+1
View File
@@ -68,6 +68,7 @@ namespace opengl
static const int TEXTURE_WIDTH = 512;
static const int TEXTURE_HEIGHT = 512;
static const int TEXTURE_PADDING = 1;
int texture_x, texture_y;
int rowHeight;