瀏覽代碼

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

Fix build on MSVC 2017
Yuri Sizov 1 年之前
父節點
當前提交
4c3dc26367
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gles3/storage/texture_storage.cpp

+ 1 - 1
drivers/gles3/storage/texture_storage.cpp

@@ -831,7 +831,7 @@ void TextureStorage::texture_proxy_initialize(RID p_texture, RID p_base) {
 	texture_owner.initialize_rid(p_texture, proxy_tex);
 }
 
-RID TextureStorage::texture_create_external(Texture::Type p_type, Image::Format p_format, unsigned int p_image, int p_width, int p_height, int p_depth, int p_layers, RS::TextureLayeredType p_layered_type) {
+RID TextureStorage::texture_create_external(GLES3::Texture::Type p_type, Image::Format p_format, unsigned int p_image, int p_width, int p_height, int p_depth, int p_layers, RS::TextureLayeredType p_layered_type) {
 	Texture texture;
 	texture.active = true;
 	texture.is_external = true;