Another fix due to recent DM refactoring, for compilation of navmesh...
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 8 Mar 2012 09:14:10 +0000 (09:14 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 8 Mar 2012 09:14:10 +0000 (09:14 +0000)
source/blender/blenkernel/intern/DerivedMesh.c

index f2cdff3d417816187000268585028addcc1bef2b..5bd5c09be28674b0448552fe9e7c9ef7fda09339 100644 (file)
@@ -2797,8 +2797,8 @@ static void navmesh_drawColored(DerivedMesh *dm)
 }
 
 static void navmesh_DM_drawFacesTex(DerivedMesh *dm,
-                       int (*setDrawOptions)(MTFace *tface, int has_mcol, int matnr),
-                       int (*compareDrawOptions)(void *userData, int cur_index, int next_index),
+                       DMSetDrawOptionsTex setDrawOptions,
+                       DMCompareDrawOptions compareDrawOptions,
                        void *userData)
 {
        (void) setDrawOptions;
@@ -2810,7 +2810,7 @@ static void navmesh_DM_drawFacesTex(DerivedMesh *dm,
 
 static void navmesh_DM_drawFacesSolid(DerivedMesh *dm,
                                       float (*partial_redraw_planes)[4],
-                                      int UNUSED(fast), int (*setMaterial)(int, void *attribs))
+                                      int UNUSED(fast), DMSetMaterial setMaterial)
 {
        (void) partial_redraw_planes;
        (void) setMaterial;