diff options
-rw-r--r-- | text.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -26,11 +26,7 @@ void Text::set_text(std::string str) { } void Text::set_position(int x, int y) { - float wf = (float)renderwindow->GetWidth() / 1024; - float hf = (float)renderwindow->GetHeight() / 768; - float xf = x * wf; - float yf = y * hf; - string.SetPosition(xf, yf); + string.SetPosition(x, y); } void Text::subtract_height() { |