diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-18 05:53:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-18 05:53:27 +0300 |
commit | cdc1ddf20bcf6b0a3783039a3828847afd3fd633 (patch) | |
tree | 6bdc89d82a578d845cf15a13423b8a458d100551 /source/blender/draw | |
parent | ea11b4e10ce06e68ba365c8c7cbdf2ab5bdaf12f (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_cryptomatte.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_cryptomatte.c b/source/blender/draw/engines/eevee/eevee_cryptomatte.c index eace4eb18f6..70d48ea6040 100644 --- a/source/blender/draw/engines/eevee/eevee_cryptomatte.c +++ b/source/blender/draw/engines/eevee/eevee_cryptomatte.c @@ -158,9 +158,9 @@ void EEVEE_cryptomatte_output_init(EEVEE_ViewLayerData *UNUSED(sldata), const ViewLayer *view_layer = draw_ctx->view_layer; const int num_cryptomatte_layers = eevee_cryptomatte_layers_count(view_layer); - eGPUTextureFormat format = (num_cryptomatte_layers == 1) ? GPU_R32F : - (num_cryptomatte_layers == 2) ? GPU_RG32F : - GPU_RGBA32F; + eGPUTextureFormat format = (num_cryptomatte_layers == 1) ? + GPU_R32F : + (num_cryptomatte_layers == 2) ? GPU_RG32F : GPU_RGBA32F; const float *viewport_size = DRW_viewport_size_get(); const int buffer_size = viewport_size[0] * viewport_size[1]; |