diff options
Diffstat (limited to 'generic/Text.c')
-rw-r--r-- | generic/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Text.c b/generic/Text.c index dd220d5..9fd5c3a 100644 --- a/generic/Text.c +++ b/generic/Text.c @@ -782,7 +782,7 @@ Render(Item item) glEnable(GL_TEXTURE_2D); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); glColor4us(text->color->red, text->color->green, - text->color->blue, text->alpha*65535/100); + text->color->blue, text->alpha*wi->alpha/100*65535/100); glBindTexture(GL_TEXTURE_2D, text->txf->texobj); lines = (TextLineInfo) ZnListArray(text->text_info); |