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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-03-07 08:41:14 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-07 08:41:14 +0400
commit71e5edeb6a769e2fd861f5fe374e75391415402a (patch)
tree3de5b78bf14355bb00fc06383a357433c6bcadfa /source/blender/gpu/intern
parentb563870fd992ec2539a0332e024ba4eda72a6d6e (diff)
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.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index cd931450497..57d3344895c 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -1613,7 +1613,7 @@ static void gpu_draw_buffers_legacy_grids(GPU_Buffers *buffers, int smooth)
}
}
-void GPU_draw_buffers(GPU_Buffers *buffers, int (*setMaterial)(int, void *attribs))
+void GPU_draw_buffers(GPU_Buffers *buffers, DMSetMaterial setMaterial)
{
int smooth = 0;