diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-18 11:27:13 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-20 09:18:26 +0100 |
commit | e880294d9f867ecde3da694b90793f78359ddae9 (patch) | |
tree | 65a447b167931849f93b1c8c86e04221f13aa2d6 /editor/editor_asset_installer.h | |
parent | 9f5045f70f3d34735074651d951d5c219b163ed3 (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/editor_asset_installer.h')
0 files changed, 0 insertions, 0 deletions