Cleanup: quiet undeclared function warning

This commit is contained in:
Campbell Barton 2022-10-03 10:24:05 +11:00
parent 15e6673ccd
commit d762132a72
1 changed files with 2 additions and 0 deletions

View File

@ -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.