Resize Sprite & Fixed the <experimental/filesystem> Warning #56
Resize Sprite & Fixed the <experimental/filesystem> Warning #56baderouaich wants to merge 3 commits intoOneLoneCoder:masterfrom baderouaich:master
Conversation
- Added function Resize(int32_t newWidth, int32_t newHeight); to resize a loaded sprite using Nearest Neighbor Image Scaling Algorithm. - Fixed Warning: std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning.
Resize Sprite & Fixed the <experimental/filesystem> Warning
|
Thanks, these two are interesting. If I may ask what is your compiler configuration, because if you are using up to date MSVC2017 or 2019 you should not see the deprecation message simply because of your compiler configuration. Regarding the sprite sizing, I'm currently starting to plan out PGE2.0 so it may appear in there. Anyway, I dont close off PRs because its useful for others to see and study them. |
|
Hello there, Can't wait to start another year with the new version of PGE! |
Sprite::Resize(int32_t newWidth, int32_t newHeight);to resize a loaded sprite usingNearest Neighbor Image Scaling Algorithm.