X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.cc;h=d5ec7bcd8ebbc7222d30c2073f8184a8d9023abc;hp=ea0dfeaef564202a32af2e569fa847501d7354a8;hb=57b78ebe21b1b48acd337daa5a1cb8c383959cfa;hpb=58cedf00e6ebf6282938c019b8eb105e3fb05eaa diff --git a/src/Hud.cc b/src/Hud.cc index ea0dfea..d5ec7bc 100644 --- a/src/Hud.cc +++ b/src/Hud.cc @@ -130,9 +130,9 @@ Hud::Hud() : void Hud::resize(int width, int height) { cml::matrix_orthographic_RH( projection_, - 0.0, - Mf::Scalar(width), 0.0, Mf::Scalar(height), - 1.0, -1.0, cml::z_clip_neg_one); + 0.0f, + Mf::Scalar(width), 0.0f, Mf::Scalar(height), + 1.0f, -1.0f, cml::z_clip_neg_one); // position the two progress bars at the top-left of the screen bar1_.resize(Mf::Rectangle(20, height - 51,