Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-02-10 09:10:52 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-02-10 09:10:52 +0400
commite90e52294287452c7581088003a5b03df368f6aa (patch)
treed05f1751f189915cbfdb86c805eaf4145f60a3e9 /source/gameengine
parenta43e627371b0a7e3405938a07fc5873448893136 (diff)
bugfix [#30127] alpha in FontObjects not working in blenderplayer
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_RenderTools.cpp2
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 */