summaryrefslogtreecommitdiff
path: root/editor/find_in_files.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-18 11:27:13 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-20 09:18:26 +0100
commite880294d9f867ecde3da694b90793f78359ddae9 (patch)
tree65a447b167931849f93b1c8c86e04221f13aa2d6 /editor/find_in_files.cpp
parent9f5045f70f3d34735074651d951d5c219b163ed3 (diff)
[Headless] Workaround texture load failure.
Some assets are loaded based on OS/server feature detection, namely textures (but potentially others). The ResourceImporter will fail to load a texture if the OS reports not supporting it. The OS, in turn, checks texture format support via the RenderingServer. This commit makes the dummy rasterizer report known texture formats as supported (although unused), so that scenes can be correctly loaded when they include references to imported textures.
Diffstat (limited to 'editor/find_in_files.cpp')
0 files changed, 0 insertions, 0 deletions