From bc1ad7104d350ac5c8151a7fa0a2d9971051f31f Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 13 Jan 2025 12:12:31 +0900 Subject: [PATCH] example: corrected reveresed arguments --- examples/Example.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Example.h b/examples/Example.h index 33dc9a76..b71bb02a 100644 --- a/examples/Example.h +++ b/examples/Example.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 the ThorVG project. All rights reserved. + * Copyright (c) 2024 - 2025 the ThorVG project. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -294,7 +294,7 @@ struct SwWindow : Window if (!surface) return; //Set the canvas target and draw on it. - verify(static_cast(canvas)->target((uint32_t*)surface->pixels, surface->w, surface->pitch / 4, surface->h, tvg::ColorSpace::ARGB8888)); + verify(static_cast(canvas)->target((uint32_t*)surface->pixels, surface->pitch / 4, surface->w, surface->h, tvg::ColorSpace::ARGB8888)); } void refresh() override