From e34239cf2bdb6bd810826b82c2a66873bd0881e2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 19 Feb 2026 12:16:11 +0100 Subject: fix: order functions arguments correctly --- src/main.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.S b/src/main.S index 270aa49..63fa359 100644 --- a/src/main.S +++ b/src/main.S @@ -124,8 +124,8 @@ load_local renderer_handle, %rdi mov %rdi, %r13 mov $0xff, %rsi - mov %rsi, %rcx mov %rsi, %rdx + mov %rsi, %rcx mov %rsi, %r8 call SDL_SetRenderDrawColor@PLT test %rax, %rax @@ -137,8 +137,8 @@ // use red color mov %r13, %rdi mov $0xff, %rsi - mov $0x00, %rcx mov $0x00, %rdx + mov $0x00, %rcx mov %rsi, %r8 call SDL_SetRenderDrawColor@PLT -- cgit v1.2.3