diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-02-10 09:10:52 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-02-10 09:10:52 +0400 |
commit | e90e52294287452c7581088003a5b03df368f6aa (patch) | |
tree | d05f1751f189915cbfdb86c805eaf4145f60a3e9 /source | |
parent | a43e627371b0a7e3405938a07fc5873448893136 (diff) |
bugfix [#30127] alpha in FontObjects not working in blenderplayer
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp index b06a9783b50..03d3c8f909f 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp @@ -292,7 +292,7 @@ void GPC_RenderTools::RenderText3D( int fontid, float aspect) { /* the actual drawing */ - glColor3fv(color); + glColor4fv(color); BLF_enable(fontid, BLF_MATRIX|BLF_ASPECT|BLF_TEXFILTER); /* multiply the text matrix by the object matrix */ |