diff options
author | SlugFiller <5435495+SlugFiller@users.noreply.github.com> | 2024-03-05 06:57:53 +0200 |
---|---|---|
committer | SlugFiller <5435495+SlugFiller@users.noreply.github.com> | 2024-03-05 06:57:53 +0200 |
commit | b999893c9d8ed079fba01ff61dbb7f19cec757ca (patch) | |
tree | d79441cfe8cf0b31f073ec2c8a3f9135b34d1d00 /drivers | |
parent | a07dd0d6a520723c4838fb4b65461a16b7a50f90 (diff) | |
download | redot-engine-b999893c9d8ed079fba01ff61dbb7f19cec757ca.tar.gz |
Fix build on MSVC 2017
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/storage/texture_storage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/storage/texture_storage.cpp b/drivers/gles3/storage/texture_storage.cpp index ffbad4c83b..5d2bc44377 100644 --- a/drivers/gles3/storage/texture_storage.cpp +++ b/drivers/gles3/storage/texture_storage.cpp @@ -1183,7 +1183,7 @@ Ref<Image> TextureStorage::texture_2d_layer_get(RID p_texture, int p_layer) cons return image; } -Vector<Ref<Image>> TextureStorage::_texture_3d_read_framebuffer(Texture *p_texture) const { +Vector<Ref<Image>> TextureStorage::_texture_3d_read_framebuffer(GLES3::Texture *p_texture) const { ERR_FAIL_NULL_V(p_texture, Vector<Ref<Image>>()); Vector<Ref<Image>> ret; @@ -1610,7 +1610,7 @@ void TextureStorage::_texture_set_3d_data(RID p_texture, const Vector<Ref<Image> #endif } -void TextureStorage::_texture_set_swizzle(Texture *p_texture, Image::Format p_real_format) { +void TextureStorage::_texture_set_swizzle(GLES3::Texture *p_texture, Image::Format p_real_format) { #ifndef WEB_ENABLED switch (p_texture->format) { case Image::FORMAT_L8: { |