mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
Fix build
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
96963429a4
commit
ac7018d5f3
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ enum class Stage : u32 {
|
|||
};
|
||||
constexpr u32 MaxStageTypes = 6;
|
||||
|
||||
[[nodiscard]] constexpr Stage StageFromIndex(size_t index) noexcept {
|
||||
return static_cast<Stage>(static_cast<size_t>(Stage::VertexB) + index);
|
||||
[[nodiscard]] constexpr Stage StageFromIndex(std::size_t index) noexcept {
|
||||
return static_cast<Stage>(static_cast<std::size_t>(Stage::VertexB) + index);
|
||||
}
|
||||
|
||||
} // namespace Shader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue