mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed crash.
This commit is contained in:
@@ -851,7 +851,7 @@ restart:
|
||||
if (NULL != ev)
|
||||
{
|
||||
handle = ev->m_handle;
|
||||
WindowState& win = s_window[handle.idx];
|
||||
WindowState& win = s_window[isValid(handle) ? handle.idx : 0];
|
||||
|
||||
switch (ev->m_type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user