From 79953d548281870a046c4d4babccedb446cdf00a Mon Sep 17 00:00:00 2001 From: Omar Emara Date: Wed, 10 Aug 2022 13:04:36 +0200 Subject: Realtime Compositor: Fix clang tidy warnings Fix a number of warnings reported by Clang Tidy in the realtime compositor's code. Differential Revision: https://developer.blender.org/D15654 Reviewed By: Clement Foucault --- source/blender/draw/engines/compositor/compositor_engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/draw') diff --git a/source/blender/draw/engines/compositor/compositor_engine.cc b/source/blender/draw/engines/compositor/compositor_engine.cc index b3fcf0505cb..f36a59a4ce6 100644 --- a/source/blender/draw/engines/compositor/compositor_engine.cc +++ b/source/blender/draw/engines/compositor/compositor_engine.cc @@ -136,7 +136,7 @@ class Engine { using namespace blender::draw::compositor; -typedef struct COMPOSITOR_Data { +struct COMPOSITOR_Data { DrawEngineType *engine_type; DRWViewportEmptyList *fbl; DRWViewportEmptyList *txl; @@ -144,7 +144,7 @@ typedef struct COMPOSITOR_Data { DRWViewportEmptyList *stl; Engine *instance_data; char info[GPU_INFO_SIZE]; -} COMPOSITOR_Data; +}; static void compositor_engine_init(void *data) { -- cgit v1.2.3