[Bf-blender-cvs] [d762132a723] master: Cleanup: quiet undeclared function warning

Campbell Barton noreply at git.blender.org
Mon Oct 3 02:20:32 CEST 2022


Commit: d762132a72328bb39fdcdab17c9a0717d31a72ca
Author: Campbell Barton
Date:   Mon Oct 3 10:24:05 2022 +1100
Branches: master
https://developer.blender.org/rBd762132a72328bb39fdcdab17c9a0717d31a72ca

Cleanup: quiet undeclared function warning

===================================================================

M	source/blender/gpu/GPU_texture.h

===================================================================

diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index 79e5926a9df..e91d4703014 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -257,6 +257,8 @@ GPUTexture *GPU_texture_create_view(const char *name,
                                     int layer_len,
                                     bool cube_as_array);
 
+GPUTexture *GPU_texture_create_single_layer_view(const char *name, const GPUTexture *src);
+
 /**
  * Create an alias of the source texture as a texture array with only one layer.
  * Works for 1D, 2D and cube-map source texture.



More information about the Bf-blender-cvs mailing list