mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user