diff options
| author | Rémi Verschelde | 2017-11-09 23:36:08 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-09 23:36:08 +0100 |
| commit | ed57f0a0d40e7fa8dde222c48cd5649d3f80008e (patch) | |
| tree | e25a7a5ce877126b8d8bd8f7a1d1b5a782d90ada /scene/resources/dynamic_font.cpp | |
| parent | 9e6f9742f4443b0fdb7593ea1fc1b3a7dd46409c (diff) | |
| download | godot-ed57f0a0d40e7fa8dde222c48cd5649d3f80008e.tar.gz godot-ed57f0a0d40e7fa8dde222c48cd5649d3f80008e.tar.zst godot-ed57f0a0d40e7fa8dde222c48cd5649d3f80008e.zip | |
Remove get_default_video_mode definition on OSX/iOS
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation
for those platforms.
Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
Diffstat (limited to '')
| -rw-r--r-- | scene/resources/dynamic_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index 1ee76a421..48c6add58 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -571,7 +571,7 @@ void DynamicFontAtSize::_update_char(CharType p_char) { wr[ofs + 0] = 255; //grayscale as 1 wr[ofs + 1] = slot->bitmap.buffer[i * slot->bitmap.pitch + j]; break; - // TODO: FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_BGRA + // TODO: FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_BGRA default: ERR_EXPLAIN("Font uses unsupported pixel format: " + itos(slot->bitmap.pixel_mode)); ERR_FAIL(); |
