Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-10-03 02:24:05 +0300
committerCampbell Barton <campbell@blender.org>2022-10-03 02:24:05 +0300
commitd762132a72328bb39fdcdab17c9a0717d31a72ca (patch)
treef334962c918b75971e0f3e92eeddab9c50ab42cd /source
parent15e6673ccdc39a20e3b2821dbe0cb0ade61bc4e5 (diff)
Cleanup: quiet undeclared function warning
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/GPU_texture.h2
1 files changed, 2 insertions, 0 deletions
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.