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:
authorClément Foucault <foucault.clem@gmail.com>2022-02-24 17:55:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-02-24 17:55:22 +0300
commit8d83fc552a319223089087e0c60265adaef48724 (patch)
tree99bd6c07fdd070c31f5dcb65cb19e5f95071072c /source
parent1685b1dba44e02ce1faace4a5de6d6cd0d98ef90 (diff)
GPU: Fix compilation in debug mode
Fixes issue introduced in rB1685b1dba44e02ce1faace4a5de6d6cd0d98ef90
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/intern/gpu_texture.cc2
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)