diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-03-12 22:19:59 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-03-16 17:43:10 +1100 |
commit | 57e5a33623130ead5aeb5369c7a40410a1afc79b (patch) | |
tree | 8fce4bd039eb7dea19bc334e4cc0feb158a6a6ef /scene/resources | |
parent | cfd21adf64087c750dde89191bcfcf4d166adc85 (diff) |
Split dummy renderer classes into separate files
Split canvas_texture_storage and texture_storage from render_storage class
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 1930fa2682..3113987fbc 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -212,7 +212,7 @@ void ImageTexture::update(const Ref<Image> &p_image) { ERR_FAIL_COND_MSG(mipmaps != p_image->has_mipmaps(), "The new image mipmaps configuration must match the texture's image mipmaps configuration"); - RenderingServer::get_singleton()->texture_2d_update(texture, p_image); + RS::get_singleton()->texture_2d_update(texture, p_image); notify_property_list_changed(); emit_changed(); |