graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5383f105c56b5c96b8597f6ece73a4d57c119b18
parent 970b896a440fa6ee8a394b8b5f1ace2e87752905
Author: Brian Swetland <swetland@frotz.net>
Date:   Tue,  2 Jul 2013 10:00:29 -0700

texturefont: select texture before drawing

Diffstat:
Mcommon/texturefont.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/common/texturefont.cc b/common/texturefont.cc @@ -112,6 +112,7 @@ void TextureFont::render(App *app) { pgm.use(); ubuf.use(0); attr.use(); + glyphs.use(0); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glDrawArrays(GL_POINTS, 0, count);