]> git.localhorst.tv Git - blank.git/blobdiff - src/shared/states.cpp
glm backwards compatibility
[blank.git] / src / shared / states.cpp
index 1b907150d73e9937f14f99566476b3f972fe32d9..fc422bbc17504d688b61584730ca59e39709ec2d 100644 (file)
@@ -18,8 +18,8 @@ ChatState::ChatState(Environment &env, State &parent, Responder &responder)
 , input(env.assets.small_ui_font) {
        input.Position(glm::vec3(25.0f, -25.0f, -1.0f), Gravity::SOUTH_WEST, Gravity::SOUTH_WEST);
        input.Width(env.viewport.Width() - 50.0f);
-       input.Foreground(glm::vec4(1.0f));
-       input.Background(glm::vec4(0.5f));
+       input.Foreground(PrimitiveMesh::Color(255));
+       input.Background(PrimitiveMesh::Color(127));
 }
 
 void ChatState::Preset(const std::string &text) {