aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 584e725..008bb84 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@ int main(int argc, const char **argv) {
if (LZY_Init(argc, argv, "lzy example", 30, "res/tset.png",
"res/font.png")) {
- LZY_Log(LZY_GetError());
+ LZY_Log("LZY_Init failed: %s", LZY_GetError());
LZY_Quit();
return 1;
}
@@ -50,6 +50,8 @@ int main(int argc, const char **argv) {
LZY_Log(LZY_GetError());
if (LZY_DrawTile(1, x, y))
LZY_Log(LZY_GetError());
+
+ LZY_DrawTextF(0, 0, "%d ; %d", x, y);
}
LZY_DrawEnd();
}