Closed blueskymonster closed 3 years ago
On the swap chain page of the tutorial, the code snippet that shows the implementation of chooseSwapExtent does not have #include <algorithm> at the top of it, even though this snippet introduces the first usage of std::max and std::min.
chooseSwapExtent
#include <algorithm>
std::max
std::min
Ah, just noticed the note after the snippet telling you to add. I leave it up to you whether to include it in the snippet then.
On the swap chain page of the tutorial, the code snippet that shows the implementation of
chooseSwapExtent
does not have#include <algorithm>
at the top of it, even though this snippet introduces the first usage ofstd::max
andstd::min
.