Преглед изворни кода

Fix escape key handling in terrain sample

Daniele Bartolini пре 12 година
родитељ
комит
15b96291f5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      samples/terrain/terrain.cpp

+ 1 - 1
samples/terrain/terrain.cpp

@@ -13,7 +13,7 @@ public:
 		device()->input_manager()->register_keyboard_listener(this);
 	}
 
-	void KeyReleased(const KeyboardEvent& event)
+	void key_released(const KeyboardEvent& event)
 	{
 		if (event.key == KC_ESCAPE)
 		{