Blender Git Loki

Git Commits -> Revision 0b5ebb3

Revision 0b5ebb3 by Clément Foucault (master)
April 7, 2018, 23:14 (GMT)
BLF: Fix problem with bound texture.

Previous code was assuming that the glyph texture would remain bound to
GL_TEXTURE0 until the cache would be drawn. This is not always the case,
so better save the texture and rebind it before drawing.

Commit Details:

Full Hash: 0b5ebb3265b155658d441135e152f32ba11c001d
Parent Commit: 3725d82
Lines Changed: +5, -2

3 Modified Paths:

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