mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Cleanup.
This commit is contained in:
parent
3813b28e9b
commit
132b0c9a1b
1 changed files with 21 additions and 15 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue