Skip to content

Commit

Permalink
improvement(sdlVideoRender): refresh screen when set scale mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kongjianneu authored and pingkai committed Sep 21, 2020
1 parent e956fb1 commit e18f0de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/render/video/SdlAFVideoRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ int SdlAFVideoRender::setFlip(Flip flip)
int SdlAFVideoRender::setScale(Scale scale)
{
mScale = scale;
refreshScreen();
return 0;
}

Expand Down

0 comments on commit e18f0de

Please sign in to comment.