Skip to content

Commit

Permalink
windows去掉s
Browse files Browse the repository at this point in the history
  • Loading branch information
scarsty committed Feb 14, 2019
1 parent 42a518f commit aebf725
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/Engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aebf725

Please sign in to comment.