aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/dynamic_font.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2016-06-17 21:58:50 +0200
committerIgnacio Etcheverry2016-06-18 18:47:11 +0200
commitbc9f9b1c6ae0e5858790fe2463a175b451580fba (patch)
tree7af4be9df275f3a73ef5adffc02b906e0cf88e68 /scene/resources/dynamic_font.cpp
parent55b83157e70a34a933a2a73f14a0052a832d0287 (diff)
downloadgodot-bc9f9b1c6ae0e5858790fe2463a175b451580fba.tar.gz
godot-bc9f9b1c6ae0e5858790fe2463a175b451580fba.tar.zst
godot-bc9f9b1c6ae0e5858790fe2463a175b451580fba.zip
Diffstat (limited to 'scene/resources/dynamic_font.cpp')
-rw-r--r--scene/resources/dynamic_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp
index 1edae0175..54c661e53 100644
--- a/scene/resources/dynamic_font.cpp
+++ b/scene/resources/dynamic_font.cpp
@@ -516,7 +516,7 @@ void DynamicFontAtSize::_update_char(CharType p_char) {
if (tex.texture.is_null()) {
tex.texture.instance();
- tex.texture->create_from_image(img,0/*Texture::FLAG_FILTER*/);
+ tex.texture->create_from_image(img,Texture::FLAG_VIDEO_SURFACE);
} else {
tex.texture->set_data(img); //update
}