|
@@ -44,12 +44,12 @@ DebugFps::DebugFps(int x, int y) |
|
|
#if 0 |
|
|
#if 0 |
|
|
for (int i = 0; i < 5; i ++) |
|
|
for (int i = 0; i < 5; i ++) |
|
|
{ |
|
|
{ |
|
|
data->lines[i] = new Text(nullptr, "data/font/ascii.png"); |
|
|
|
|
|
|
|
|
data->lines[i] = new Text("", "data/font/ascii.png"); |
|
|
data->lines[i]->SetPos(ivec3(x, y + (i ? 8 : 0) + 16 * i, 0)); |
|
|
data->lines[i]->SetPos(ivec3(x, y + (i ? 8 : 0) + 16 * i, 0)); |
|
|
Ticker::Ref(data->lines[i]); |
|
|
Ticker::Ref(data->lines[i]); |
|
|
} |
|
|
} |
|
|
#else |
|
|
#else |
|
|
data->lines[0] = new Text(nullptr, "data/font/ascii.png"); |
|
|
|
|
|
|
|
|
data->lines[0] = new Text("", "data/font/ascii.png"); |
|
|
data->lines[0]->SetPos(ivec3(x, y, 100)); |
|
|
data->lines[0]->SetPos(ivec3(x, y, 100)); |
|
|
Ticker::Ref(data->lines[0]); |
|
|
Ticker::Ref(data->lines[0]); |
|
|
#endif |
|
|
#endif |
|
|