Mercurial > mm7
diff GUI/GUIWindow.cpp @ 2525:4cc81f981afb
Everything except game can use d3d11
author | a.parshin |
---|---|
date | Fri, 10 Oct 2014 18:28:04 +0300 |
parents | c7264ab7132f |
children | e72e62ec9273 |
line wrap: on
line diff
--- a/GUI/GUIWindow.cpp Fri Oct 10 17:42:05 2014 +0300 +++ b/GUI/GUIWindow.cpp Fri Oct 10 18:28:04 2014 +0300 @@ -1203,7 +1203,7 @@ pRenderer->DrawText(v12, v13, (unsigned __int8 *)v17, v16, LOBYTE(v10->uFontHeight), v10->pFontPalettes[0], uFontColor, uFontShadowColor); else - pRenderer->DrawTextPalette(v12, v13, (unsigned char*)v17, v16, LOBYTE(v10->uFontHeight), + pRenderer->DrawTextAlpha(v12, v13, (unsigned char*)v17, v16, LOBYTE(v10->uFontHeight), v10->pFontPalettes[0], a7); LOBYTE(v11) = v30; v12 += v28; @@ -1353,7 +1353,7 @@ if ( uColor ) pRenderer->DrawText(v13, v14, v21, v20, pFont->uFontHeight, pFont->pFontPalettes[0], uColor, 0); else - pRenderer->DrawTextPalette(v13, v14, v21, v20, pFont->uFontHeight, pFont->pFontPalettes[0], 0); + pRenderer->DrawTextAlpha(v13, v14, v21, v20, pFont->uFontHeight, pFont->pFontPalettes[0], false); v13 += v20; if ( i < (signed int)pNumLen ) v13 += pFont->pMetrics[v15].uRightSpacing;