Building 2.8 again after warning cleanup (696ed6d3ca)

This commit is contained in:
Dalai Felinto 2017-03-09 12:08:44 +01:00
parent b40a4f66b2
commit 528cb8877f
1 changed files with 3 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ void GPU_end_dupli_object(void)
}
void GPU_begin_object_materials(
View3D *v3d, RegionView3D *rv3d, Scene *scene, SceneLayer *UNUSED(sl), Object *ob,
View3D *v3d, RegionView3D *rv3d, Scene *scene, SceneLayer *sl, Object *ob,
bool glsl, bool *do_alpha_after)
{
Material *ma;
@ -1728,6 +1728,8 @@ void GPU_begin_object_materials(
if (rv3d->rflag & RV3D_IS_GAME_ENGINE) {
ob = BKE_object_lod_matob_get(ob, sl);
}
#else
UNUSED_VARS(sl);
#endif
/* initialize state */