mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 18:25:29 +00:00
Relaxed view maximum, made view storage grow with use, up-to 4096 view ids. (#4014)
This commit is contained in:
@@ -613,7 +613,7 @@ void imguiDestroy()
|
||||
|
||||
void imguiBeginFrame(int32_t _mx, int32_t _my, uint8_t _button, int32_t _scroll, uint16_t _width, uint16_t _height, int _inputChar, bgfx::ViewId _viewId)
|
||||
{
|
||||
s_ctx.beginFrame(_mx, _my, _button, _scroll, _width, _height, _inputChar, _viewId);
|
||||
s_ctx.beginFrame(_mx, _my, _button, _scroll, _width, _height, _inputChar, bx::min(_viewId, bgfx::getCaps()->limits.maxViews-1) );
|
||||
}
|
||||
|
||||
void imguiEndFrame()
|
||||
|
||||
Reference in New Issue
Block a user