From 951c93ab846b75b220bb3cb5d2618431a4378fcf Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 2 Jul 2012 00:10:32 +0000 Subject: [PATCH] data: fix ascii.png search path. --- src/debug/fps.cpp | 4 ++-- tutorial/11_fractal.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/debug/fps.cpp b/src/debug/fps.cpp index 45f38ff8..f2318fcf 100644 --- a/src/debug/fps.cpp +++ b/src/debug/fps.cpp @@ -44,12 +44,12 @@ DebugFps::DebugFps(int x, int y) #if 0 for (int i = 0; i < 5; i ++) { - data->lines[i] = new Text(NULL, "src/gfx/font/ascii.png"); + data->lines[i] = new Text(NULL, "src/data/font/ascii.png"); data->lines[i]->SetPos(ivec3(x, y + (i ? 8 : 0) + 16 * i, 0)); Ticker::Ref(data->lines[i]); } #else - data->lines[0] = new Text(NULL, "src/gfx/font/ascii.png"); + data->lines[0] = new Text(NULL, "src/data/font/ascii.png"); data->lines[0]->SetPos(ivec3(x, y, 100)); Ticker::Ref(data->lines[0]); #endif diff --git a/tutorial/11_fractal.cpp b/tutorial/11_fractal.cpp index 203b0f24..e750e88f 100644 --- a/tutorial/11_fractal.cpp +++ b/tutorial/11_fractal.cpp @@ -140,15 +140,15 @@ public: } #if !defined __native_client__ - m_centertext = new Text(NULL, "src/gfx/font/ascii.png"); + m_centertext = new Text(NULL, "src/data/font/ascii.png"); m_centertext->SetPos(ivec3(5, m_window_size.y - 15, 1)); Ticker::Ref(m_centertext); - m_mousetext = new Text(NULL, "src/gfx/font/ascii.png"); + m_mousetext = new Text(NULL, "src/data/font/ascii.png"); m_mousetext->SetPos(ivec3(5, m_window_size.y - 29, 1)); Ticker::Ref(m_mousetext); - m_zoomtext = new Text(NULL, "src/gfx/font/ascii.png"); + m_zoomtext = new Text(NULL, "src/data/font/ascii.png"); m_zoomtext->SetPos(ivec3(5, m_window_size.y - 43, 1)); Ticker::Ref(m_zoomtext); #endif