diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-02-24 17:55:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-02-24 17:55:22 +0300 |
commit | 8d83fc552a319223089087e0c60265adaef48724 (patch) | |
tree | 99bd6c07fdd070c31f5dcb65cb19e5f95071072c /source/blender | |
parent | 1685b1dba44e02ce1faace4a5de6d6cd0d98ef90 (diff) |
GPU: Fix compilation in debug mode
Fixes issue introduced in rB1685b1dba44e02ce1faace4a5de6d6cd0d98ef90
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.cc b/source/blender/gpu/intern/gpu_texture.cc index 762b819036c..d84f420f35b 100644 --- a/source/blender/gpu/intern/gpu_texture.cc +++ b/source/blender/gpu/intern/gpu_texture.cc @@ -187,7 +187,7 @@ static inline GPUTexture *gpu_texture_create(const char *name, const int h, const int d, const eGPUTextureType type, - int UNUSED(mips), + int mips, eGPUTextureFormat tex_format, eGPUDataFormat data_format, const void *pixels) |