From 4a8aaab0b2ab84455450fcdd1e39e190862b0bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 3 Apr 2017 19:32:05 +0200 Subject: Draw Manager: Use engine type pointer instead of engine name. Faster search --- source/blender/draw/modes/paint_weight_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/modes/paint_weight_mode.c') diff --git a/source/blender/draw/modes/paint_weight_mode.c b/source/blender/draw/modes/paint_weight_mode.c index 3063e685149..2d189e07fd2 100644 --- a/source/blender/draw/modes/paint_weight_mode.c +++ b/source/blender/draw/modes/paint_weight_mode.c @@ -83,7 +83,7 @@ typedef struct PAINT_WEIGHT_Data { /* Struct returned by DRW_viewport_engine_data_get. * If you don't use one of these, just make it a (void *) */ // void *fbl; - char engine_name[32]; /* Required */ + void *engine_type; /* Required */ PAINT_WEIGHT_FramebufferList *fbl; PAINT_WEIGHT_TextureList *txl; PAINT_WEIGHT_PassList *psl; -- cgit v1.2.3