瀏覽代碼

Merge pull request #89168 from SlugFiller/fix-msvc-2017-gles-namespace-v2

Fix build on MSVC 2017
Rémi Verschelde 1 年之前
父節點
當前提交
a369796741
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/gles3/storage/texture_storage.cpp

+ 2 - 2
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;
 	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>>());
 	ERR_FAIL_NULL_V(p_texture, Vector<Ref<Image>>());
 
 
 	Vector<Ref<Image>> ret;
 	Vector<Ref<Image>> ret;
@@ -1610,7 +1610,7 @@ void TextureStorage::_texture_set_3d_data(RID p_texture, const Vector<Ref<Image>
 #endif
 #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
 #ifndef WEB_ENABLED
 	switch (p_texture->format) {
 	switch (p_texture->format) {
 		case Image::FORMAT_L8: {
 		case Image::FORMAT_L8: {