diff options
author | kdx <kikoodx@paranoici.org> | 2023-02-14 13:19:21 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-02-14 13:19:21 +0100 |
commit | eba0c551213cd2be022f40162cab8c86928f63e9 (patch) | |
tree | 51077caa245a0175f85772b6b4586fb11362cb05 /main.c | |
parent | 3d0981f8c2c53314f823b667b6ef205a3ea58ae4 (diff) | |
download | tzr-eba0c551213cd2be022f40162cab8c86928f63e9.tar.gz |
find overed element
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,7 +8,7 @@ int main(int argc, char **argv) /* Initialization. */ TZR_Config cfg = { .width = 512, - .height = 256, + .height = 512, .target_fps = 60, .title = "TZR demo" }; @@ -32,7 +32,8 @@ int main(int argc, char **argv) TZR_CycleEvents(); x = (x + 1) % 20; TZR_DrawBegin(); - TZR_DrawImage(id0, x - 10, 0); + TZR_DrawImage(id0, x, 0); + TZR_DrawImage(id0, 0, x); TZR_DrawEnd(); } return 0; |