diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-19 18:03:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-19 18:28:51 +0300 |
commit | 0c8749788cafad72ab302169f5a2ec55818b7814 (patch) | |
tree | 133ea773ecd6030949c886e0f2992a412eaebacc /source/blender/gpu/GPU_texture.h | |
parent | 16084066009ed954761b7652edd926c00733a437 (diff) |
Fix build error on mips64el architecture
Same as D12194, name "mips" conflicts on such systems.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 5bd20b7be98..d76185fc71d 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -193,7 +193,7 @@ unsigned int GPU_texture_memory_usage_get(void); * \note \a data is expected to be float. If the \a format is not compatible with float data or if * the data is not in float format, use GPU_texture_update to upload the data with the right data * format. - * \a mips is the number of mip level to allocate. It must be >= 1. + * \a mip_len is the number of mip level to allocate. It must be >= 1. */ GPUTexture *GPU_texture_create_1d( const char *name, int w, int mip_len, eGPUTextureFormat format, const float *data); |