Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Emara <mail@OmarEmara.dev>2022-08-10 14:04:36 +0300
committerOmar Emara <mail@OmarEmara.dev>2022-08-10 14:04:36 +0300
commit79953d548281870a046c4d4babccedb446cdf00a (patch)
tree13d855e17f56ed0c88a3d29215155ad365bd0479 /source/blender/draw
parent089216067faa6c99d0282f9bae26f739d7e50ee9 (diff)
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
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/compositor/compositor_engine.cc4
1 files changed, 2 insertions, 2 deletions
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)
{