- added GCC warning -Wstrict-prototypes
[blender.git] / source / blender / blenkernel / intern / material.c
index 8096f0277bb889937f5b6f1892480f8bd3a4c528..ac61acac56aee35a4a7d3689d41bd5b1cb893304 100644 (file)
@@ -1402,7 +1402,7 @@ void paste_matcopybuf(Material *ma)
                MEM_freeN(ma->nodetree);
        }
 
-       GPU_materials_free(ma);
+       GPU_material_free(ma);
 
        id= (ma->id);
        memcpy(ma, &matcopybuf, sizeof(Material));