Vulkan-Cookbook
Vulkan-Cookbook copied to clipboard
Update 19 Increasing the performance through increasing the number of…
… separately rendered frames.h
Changed 5 references to r-value references to fix build errors for mingw64-gcc and VS std c++20
A few of questions:
- What errors were you getting?
- l-value references and r-value references are two very different things. I can't see how changing the function signature is a fix. How do you know there is not a better fix?
- If you were getting build errors, how did you verify faster performance from just using l-value references if the code refused to build? This pull request looks like it is for two different reasons that don't quite make sense.
- This is not c++20 code. Why are you building with the c++20 standard? The existing standard in CMakeTests.txt clearly states c++11.