Move glTexEnvi to draw__start/draw__end.
authorDiego Borghetti <bdiego@gmail.com>
Fri, 6 Jan 2012 16:40:57 +0000 (16:40 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Fri, 6 Jan 2012 16:40:57 +0000 (16:40 +0000)
commit5ba14fd210355e0bbff7746cdc58ec96b7a489de
tree8767fab3342ea8a6150231cfb2500a1a64dbf579
parent7ff5a17ff2959fcd1a13b245596c52e057e57e39
Move glTexEnvi to draw__start/draw__end.

As Campbell point, this is to avoid call glGet/glTexEnvi
on each character.
source/blender/blenfont/intern/blf.c
source/blender/blenfont/intern/blf_glyph.c