Skip to content

Commit 708ed1d

Browse files
committed
constexpr -> const
For some reason this didn't cause an issue in the release build but did on debug
1 parent 735b6f1 commit 708ed1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constants.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace constants {
1818
constexpr glm::vec3 WORLD_GRAVITY = glm::vec3(0.0f, 0.0f, -9.81f);
1919

2020
/* clang-format off */
21-
constexpr asset::Material DEFAULT_MATERIAL_3D = {
21+
const asset::Material DEFAULT_MATERIAL_3D = {
2222
.name = "DefaultMaterial",
2323
.ambient = glm::vec3(0.05f),
2424
.diffuse = glm::vec3(0.8f, 0.8f, 0.8f),

0 commit comments

Comments
 (0)