mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
Fixed 64-bit warning.
This commit is contained in:
parent
e55912afb7
commit
8f09044ea4
1 changed files with 3 additions and 3 deletions
|
@ -532,7 +532,7 @@ namespace bgfx
|
||||||
|
|
||||||
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
||||||
{
|
{
|
||||||
fragMem[ii] = makeRef(mem[ii].data, mem[ii].size);
|
fragMem[ii] = makeRef(mem[ii].data, uint32_t(mem[ii].size) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (RendererType::Direct3D11 == g_caps.rendererType)
|
else if (RendererType::Direct3D11 == g_caps.rendererType)
|
||||||
|
@ -553,7 +553,7 @@ namespace bgfx
|
||||||
|
|
||||||
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
||||||
{
|
{
|
||||||
fragMem[ii] = makeRef(mem[ii].data, mem[ii].size);
|
fragMem[ii] = makeRef(mem[ii].data, uint32_t(mem[ii].size) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (RendererType::OpenGLES == g_caps.rendererType
|
else if (RendererType::OpenGLES == g_caps.rendererType
|
||||||
|
@ -575,7 +575,7 @@ namespace bgfx
|
||||||
|
|
||||||
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
for (uint32_t ii = 0, num = g_caps.maxFBAttachments; ii < num; ++ii)
|
||||||
{
|
{
|
||||||
fragMem[ii] = makeRef(mem[ii].data, mem[ii].size);
|
fragMem[ii] = makeRef(mem[ii].data, uint32_t(mem[ii].size) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue