Skip to content

Commit 4bdd4b0

Browse files
Fixed a bug but the lights still are not rendering correctly
1 parent 83e84db commit 4bdd4b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

engine/include/rev/LightModel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@ class LightModel
6262
case Light::Type::Directional:
6363
assert(_directionalLightProgram.has_value());
6464
light->draw(**_directionalLightProgram);
65+
break;
6566
case Light::Type::Point:
6667
assert(_pointLightProgram.has_value());
6768
light->draw(**_pointLightProgram);
69+
break;
6870
};
6971
}
7072
}

0 commit comments

Comments
 (0)