diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-29 15:50:20 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-29 16:03:02 +0300 |
commit | 45d61bdc03f77dad91dfc988b6c1c43a7dcb06da (patch) | |
tree | 4306da0dcebe765335a689d80df9c91a8ad1ddc2 /source/blender/gpu/GPU_texture.h | |
parent | 56d0a554a86e7ff3269ba9f1c4201559d5944b71 (diff) |
GPU: Move gpu_texture.c to C++
# Conflicts:
# source/blender/gpu/GPU_texture.h
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 0f159a3774f..6685e2a2171 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -52,7 +52,6 @@ typedef enum eGPUTextureTarget { * - Internally used by textures. * - All states are created at startup to avoid runtime costs. */ - typedef enum eGPUSamplerState { GPU_SAMPLER_FILTER = (1 << 0), GPU_SAMPLER_MIPMAP = (1 << 1), @@ -66,6 +65,8 @@ typedef enum eGPUSamplerState { GPU_SAMPLER_MAX = (1 << 8), } eGPUSamplerState; +ENUM_OPERATORS(eGPUSamplerState) + #ifdef __cplusplus extern "C" { #endif |