Просмотр исходного кода

Fix compilation of terrain_main.cpp

Daniele Bartolini 12 лет назад
Родитель
Сommit
7559cd49bc
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      samples/terrain/terrain_main.cpp

+ 4 - 0
samples/terrain/terrain_main.cpp

@@ -209,6 +209,9 @@ private:
 MainScene m_scene;
 WndCtrl m_ctrl;
 
+namespace crown
+{
+
 void init()
 {
 	m_scene.on_load();
@@ -224,3 +227,4 @@ void frame(float dt)
 	m_scene.update(dt);
 }
 
+}