2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-12-22 02:11:48 +00:00

Merge pull request #620 from Laupetin/fix/techniqueset-debug-linux-error

chore: fix compilation error on linux for techniqueset debug mode
This commit is contained in:
Jan
2025-12-19 16:16:25 +01:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ namespace
{ {
for (auto i = 0u; i < sizeof(CommonTechnique::m_flags) * 8u; i++) for (auto i = 0u; i < sizeof(CommonTechnique::m_flags) * 8u; i++)
{ {
const auto mask = 1ui64 << i; const auto mask = 1ull << i;
if (technique.m_flags & mask) if (technique.m_flags & mask)
{ {
Indent(); Indent();
@@ -63,7 +63,7 @@ namespace
#ifdef TECHSET_DEBUG #ifdef TECHSET_DEBUG
for (auto i = 0u; i < sizeof(CommonPass::m_sampler_flags) * 8u; i++) for (auto i = 0u; i < sizeof(CommonPass::m_sampler_flags) * 8u; i++)
{ {
const auto mask = 1ui64 << i; const auto mask = 1ull << i;
if (pass.m_sampler_flags & mask) if (pass.m_sampler_flags & mask)
{ {
Indent(); Indent();