diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-06-03 14:03:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-06-03 17:18:50 +0300 |
commit | 866e067d65c1691941865ee426bc0dac5c9e3f95 (patch) | |
tree | 1cefca57555fcfb6d22890443f6af5c7ce981ea3 /source/blender/gpu/GPU_texture.h | |
parent | 4184371fb04e6328f74eab8e27636580e10e84fb (diff) |
GPUTexture: Add support for binding textures with custom sampler states
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 01814b78641..a13f61177e6 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -261,7 +261,7 @@ void GPU_texture_free(GPUTexture *tex); void GPU_texture_ref(GPUTexture *tex); void GPU_texture_bind(GPUTexture *tex, int number); -void GPU_texture_bind_ex(GPUTexture *tex, int unit, const bool set_number); +void GPU_texture_bind_ex(GPUTexture *tex, eGPUSamplerState state, int unit, const bool set_number); void GPU_texture_unbind(GPUTexture *tex); void GPU_texture_unbind_all(void); |