From 71e5edeb6a769e2fd861f5fe374e75391415402a Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Wed, 7 Mar 2012 04:41:14 +0000 Subject: Code cleanup: use typedefs for DerivedMesh drawing callbacks. There are still fairly bewildering set of callbacks being tossed around, but it's at least a little less verbose now. --- source/blender/blenlib/intern/pbvh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/pbvh.c b/source/blender/blenlib/intern/pbvh.c index 861219159e1..d0dc51d1a8a 100644 --- a/source/blender/blenlib/intern/pbvh.c +++ b/source/blender/blenlib/intern/pbvh.c @@ -1560,7 +1560,7 @@ int BLI_pbvh_node_planes_contain_AABB(PBVHNode *node, void *data) } void BLI_pbvh_draw(PBVH *bvh, float (*planes)[4], float (*face_nors)[3], - int (*setMaterial)(int, void *attribs)) + DMSetMaterial setMaterial) { PBVHNode **nodes; int totnode; -- cgit v1.2.3