Fix building without Clay engine.

This commit is contained in:
Bastien Montagne 2017-02-17 20:06:31 +01:00
parent 322b1d3187
commit a54e461b84
1 changed files with 6 additions and 1 deletions

View File

@ -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
}
}