fix linux build

This commit is contained in:
Ivan Avdeev 2021-10-24 11:38:10 -07:00 committed by Ivan Avdeev
parent 4d78c44ed6
commit b7983a2903
1 changed files with 1 additions and 1 deletions

View File

@ -1264,9 +1264,9 @@ void VK_LightsLoadMapStaticLights( void ) {
// Load static map model
{
matrix3x4 xform;
Matrix3x4_LoadIdentity(xform);
const vk_brush_model_t *const bmodel = map->cache.data;
ASSERT(bmodel);
Matrix3x4_LoadIdentity(xform);
for (int i = 0; i < bmodel->render_model.num_geometries; ++i) {
const vk_render_geometry_t *geom = bmodel->render_model.geometries + i;