mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
Fixing a memory overflow that caused the camera to move right all the time.
This commit is contained in:
@@ -72,7 +72,7 @@ struct Mouse
|
||||
struct Keyboard
|
||||
{
|
||||
Keyboard()
|
||||
: m_ring(BX_COUNTOF(m_char) )
|
||||
: m_ring(BX_COUNTOF(m_char)-4)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user