Changeset 1557


Ignore:
Timestamp:
Jul 2, 2012, 2:10:32 AM (7 years ago)
Author:
sam
Message:

data: fix ascii.png search path.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debug/fps.cpp

    r1524 r1557  
    4545    for (int i = 0; i < 5; i ++)
    4646    {
    47         data->lines[i] = new Text(NULL, "src/gfx/font/ascii.png");
     47        data->lines[i] = new Text(NULL, "src/data/font/ascii.png");
    4848        data->lines[i]->SetPos(ivec3(x, y + (i ? 8 : 0) + 16 * i, 0));
    4949        Ticker::Ref(data->lines[i]);
    5050    }
    5151#else
    52     data->lines[0] = new Text(NULL, "src/gfx/font/ascii.png");
     52    data->lines[0] = new Text(NULL, "src/data/font/ascii.png");
    5353    data->lines[0]->SetPos(ivec3(x, y, 100));
    5454    Ticker::Ref(data->lines[0]);
  • trunk/tutorial/11_fractal.cpp

    r1534 r1557  
    141141
    142142#if !defined __native_client__
    143         m_centertext = new Text(NULL, "src/gfx/font/ascii.png");
     143        m_centertext = new Text(NULL, "src/data/font/ascii.png");
    144144        m_centertext->SetPos(ivec3(5, m_window_size.y - 15, 1));
    145145        Ticker::Ref(m_centertext);
    146146
    147         m_mousetext = new Text(NULL, "src/gfx/font/ascii.png");
     147        m_mousetext = new Text(NULL, "src/data/font/ascii.png");
    148148        m_mousetext->SetPos(ivec3(5, m_window_size.y - 29, 1));
    149149        Ticker::Ref(m_mousetext);
    150150
    151         m_zoomtext = new Text(NULL, "src/gfx/font/ascii.png");
     151        m_zoomtext = new Text(NULL, "src/data/font/ascii.png");
    152152        m_zoomtext->SetPos(ivec3(5, m_window_size.y - 43, 1));
    153153        Ticker::Ref(m_zoomtext);
Note: See TracChangeset for help on using the changeset viewer.