summaryrefslogtreecommitdiff
path: root/demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demo.cpp')
-rw-r--r--demo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo.cpp b/demo.cpp
index f335402..7e31b34 100644
--- a/demo.cpp
+++ b/demo.cpp
@@ -13,10 +13,10 @@ main_loop(FLD& fld, [[maybe_unused]] void *udata)
fld.drawRectangle({ 16, 32, 64, 32 });
fld.image("res/smile.bmp").draw({
- .p = {},
+ .p = { 128, 128 },
.sx = 1.5f,
.sy = 0.5f,
- .f = FLD::FLIP_X | FLD::FLIP_Y,
+ .f = FLD::FLIP_X | FLD::FLIP_Y | FLD::CENTER,
});
if (fld.drawEnd())