New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -288,6 +288,7 @@ void TextSource::UpdateFont()
|
|||
lf.lfUnderline = underline;
|
||||
lf.lfStrikeOut = strikeout;
|
||||
lf.lfQuality = ANTIALIASED_QUALITY;
|
||||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
|
||||
if (!face.empty()) {
|
||||
wcscpy(lf.lfFaceName, face.c_str());
|
||||
|
|
@ -787,7 +788,6 @@ inline void TextSource::Render(gs_effect_t *effect)
|
|||
if (!tex)
|
||||
return;
|
||||
|
||||
gs_reset_blend_state();
|
||||
gs_effect_set_texture(gs_effect_get_param_by_name(effect, "image"), tex);
|
||||
gs_draw_sprite(tex, 0, cx, cy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue