diff --git a/src/Engine.cpp b/src/Engine.cpp index f09d5ee..0c0b6ec 100644 --- a/src/Engine.cpp +++ b/src/Engine.cpp @@ -485,7 +485,7 @@ void Engine::setWindowSize(int w, int h) //renderPresent(); } -void Engine::resetWindowsPosition() +void Engine::resetWindowPosition() { int x, y, w, h, x0, y0; SDL_GetWindowSize(window_, &w, &h); diff --git a/src/Engine.h b/src/Engine.h index ad1468c..c6f43e4 100644 --- a/src/Engine.h +++ b/src/Engine.h @@ -139,7 +139,7 @@ class Engine bool setKeepRatio(bool b); BP_Texture* transBitmapToTexture(const uint8_t* src, uint32_t color, int w, int h, int stride); double setRotation(double r) { return rotation_ = r; } - void resetWindowsPosition(); + void resetWindowPosition(); void setRatio(int x, int y) { ratio_x_ = x;