mirror of https://github.com/bkaradzic/bgfx
Merge pull request #769 from dariomanesku/master
Fixing a memory overflow that caused the camera to move right all the…
This commit is contained in:
commit
20213fa952
|
@ -72,7 +72,7 @@ struct Mouse
|
||||||
struct Keyboard
|
struct Keyboard
|
||||||
{
|
{
|
||||||
Keyboard()
|
Keyboard()
|
||||||
: m_ring(BX_COUNTOF(m_char) )
|
: m_ring(BX_COUNTOF(m_char)-4)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue