diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-22 02:53:51 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-22 04:51:06 +0300 |
commit | fe2ff3fc89332ddf8374b72e2f05f3f7015f8cbd (patch) | |
tree | 5e19127252674e2ea98ad592748535c2afe101f1 /source/blender/gpu/GPU_texture.h | |
parent | 4ceb006706579a0ad2301d2cde57489b69a7683c (diff) |
GPUTexture: Support for nearest sampling with mipmaps.
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 01390760beb..6d6c195c175 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -181,7 +181,7 @@ int GPU_texture_bound_number(GPUTexture *tex); void GPU_texture_generate_mipmap(GPUTexture *tex); void GPU_texture_compare_mode(GPUTexture *tex, bool use_compare); void GPU_texture_filter_mode(GPUTexture *tex, bool use_filter); -void GPU_texture_mipmap_mode(GPUTexture *tex, bool use_mipmap); +void GPU_texture_mipmap_mode(GPUTexture *tex, bool use_mipmap, bool use_filter); void GPU_texture_wrap_mode(GPUTexture *tex, bool use_repeat); struct GPUFrameBuffer *GPU_texture_framebuffer(GPUTexture *tex); |