summaryrefslogtreecommitdiff
path: root/core/SCsub
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-05-16 16:10:50 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-05-16 16:10:50 +0200
commitd935a4348d9d0284be0bb7a9ad001a6b406112c5 (patch)
treef224bd1a5ccfa8ce3928b811585ceebcbd47492e /core/SCsub
parentac58372db824b74b8c4feb948434b924c573b847 (diff)
Remove HQ2X and the `Image.expand_2x_hq2x()` method
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
Diffstat (limited to 'core/SCsub')
-rw-r--r--core/SCsub1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/SCsub b/core/SCsub
index d53988fae7..80a5f6b623 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -52,7 +52,6 @@ thirdparty_misc_sources = [
"r128.c",
"smaz.c",
# C++ sources
- "hq2x.cpp",
"pcg.cpp",
"triangulator.cpp",
"clipper.cpp",