Blender Git Loki

Git Commits -> Revision 2ce08bb

Revision 2ce08bb by Campbell Barton (master)
January 3, 2013, 15:15 (GMT)
fix for bug rendering text at small sizes, padding was incorrectly being applied to the characters y offset causing out of bounds pixels to be requested from glTexSubImage2D().
also clamp width, height of the character bitmap to the bitmap bounds since this can still happen for very small text (2-3 pixels high).

Commit Details:

Full Hash: 2ce08bb2d4fa3838eb7fc1c987c4576e420dec9d
SVN Revision: 53533
Parent Commit: 835ebd5
Lines Changed: +16, -2

1 Modified Path:

/source/blender/blenfont/intern/blf_glyph.c (+16, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021