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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-02-17 22:06:31 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-02-17 22:06:31 +0300
commita54e461b843552caa843a7975eb3d7a7a671d6ac (patch)
tree830f46ecdbc2bc37b72e0c83b06e19652ad8d295 /source/blender/draw
parent322b1d3187fc5b3e82ebf8b13a675e3132059ef4 (diff)
Fix building without Clay engine.
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_manager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 283be353e8e..a834284b193 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -1036,6 +1036,11 @@ void DRW_draw_mode_overlays(void)
DRW_draw_manipulator();
DRW_draw_region_info();
}
+#else
+void DRW_draw_pass(DRWPass *UNUSED(pass))
+{
+}
+
#endif
/* ******************************************* Mode Engine Cache ****************************************** */
@@ -1343,4 +1348,4 @@ void DRW_engines_free(void)
BLI_remlink(&R_engines, &viewport_clay_type);
#endif
-} \ No newline at end of file
+}