Fixed double to float conversion warnings in tests

0.8
Bruno Van de Velde 2017-03-12 15:17:04 +01:00
parent 063a926cd1
commit 4e73f9ab99
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ TEST_CASE("[Clipping]")
background->moveToBack();
sf::View view = gui.getView();
view.setViewport({0.1, 0.2, 0.8, 0.6});
view.setViewport({0.1f, 0.2f, 0.8f, 0.6f});
view.setCenter(415, 320);
view.setSize(80, 40);
gui.setView(view);