diff --git a/drivers/gles3/storage/texture_storage.cpp b/drivers/gles3/storage/texture_storage.cpp index ffbad4c83b44..5d2bc44377ca 100644 --- a/drivers/gles3/storage/texture_storage.cpp +++ b/drivers/gles3/storage/texture_storage.cpp @@ -1183,7 +1183,7 @@ Ref TextureStorage::texture_2d_layer_get(RID p_texture, int p_layer) cons return image; } -Vector> TextureStorage::_texture_3d_read_framebuffer(Texture *p_texture) const { +Vector> TextureStorage::_texture_3d_read_framebuffer(GLES3::Texture *p_texture) const { ERR_FAIL_NULL_V(p_texture, Vector>()); Vector> ret; @@ -1610,7 +1610,7 @@ void TextureStorage::_texture_set_3d_data(RID p_texture, const Vector #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: {