This commit is contained in:
Branimir Karadžić 2015-06-04 22:24:45 -07:00
parent 3813b28e9b
commit 132b0c9a1b

View file

@ -752,6 +752,8 @@ namespace bgfx
}
RenderFrame::Enum renderFrame()
{
if (BX_ENABLED(BGFX_CONFIG_MULTITHREADED) )
{
if (NULL == s_ctx)
{
@ -773,6 +775,10 @@ namespace bgfx
return RenderFrame::Render;
}
BX_CHECK(false, "This call only makes sense if used with multi-threaded renderer.");
return RenderFrame::NoContext;
}
const uint32_t g_uniformTypeSize[UniformType::Count+1] =
{
sizeof(int32_t),