diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-11 10:43:57 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-11 10:43:57 +0100 |
commit | e10f8cbf4018f9a5120f92a2a1ca38979dc88ef1 (patch) | |
tree | 36b3b17685a0a55392cae23192682acce0b88729 /servers/rendering/dummy | |
parent | 43f2213325760241038c5944f246e998a4991639 (diff) | |
parent | 71d8de27635f7d1023ce622ac3c90ed85f59080d (diff) |
Merge pull request #68186 from pkdawson/expose-texture-rd
Expose texture_get_rd_texture for scripts
Diffstat (limited to 'servers/rendering/dummy')
-rw-r--r-- | servers/rendering/dummy/storage/texture_storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/dummy/storage/texture_storage.h b/servers/rendering/dummy/storage/texture_storage.h index ad28dd68c3..a17d734e10 100644 --- a/servers/rendering/dummy/storage/texture_storage.h +++ b/servers/rendering/dummy/storage/texture_storage.h @@ -126,6 +126,8 @@ public: virtual Size2 texture_size_with_proxy(RID p_proxy) override { return Size2(); }; + virtual RID texture_get_rd_texture_rid(RID p_texture, bool p_srgb = false) const override { return RID(); }; + /* DECAL API */ virtual RID decal_allocate() override { return RID(); } virtual void decal_initialize(RID p_rid) override {} |