diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-12-05 09:52:16 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-12-05 10:49:32 -0500 |
| commit | 159947ab68deea502b6a75cc7b38e461122111c9 (patch) | |
| tree | 056ab7d31d9493b6fd2ab097e8c71a789ea79f38 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | fb3fda775f7147c698455fe2399c9c29dd875fa6 (diff) | |
VideoCommon/IndexGenerator: Make use of if constexpr
We can use if constexpr with the template functions that pass in a
non-type template parameter, allowing the removal of branches that
aren't taken at compile time.
Compilers will generally do this by default, however, we now give a
gentle prodding to the compiler if this would otherwise not be the case.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
0 files changed, 0 insertions, 0 deletions
