projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added 1-pixel transparent border around glyphs to avoid GL blending artifacts when...
[supertux.git]
/
src
/
video
/
font.hpp
diff --git
a/src/video/font.hpp
b/src/video/font.hpp
index
4704d76
..
513e0d0
100644
(file)
--- a/
src/video/font.hpp
+++ b/
src/video/font.hpp
@@
-137,6
+137,7
@@
private:
std::vector<SurfacePtr> shadow_surfaces;
int char_height;
int shadowsize;
std::vector<SurfacePtr> shadow_surfaces;
int char_height;
int shadowsize;
+ int border;
/** 65536 of glyphs */
std::vector<Glyph> glyphs;
/** 65536 of glyphs */
std::vector<Glyph> glyphs;