Compare commits

...

2 Commits

Author SHA1 Message Date
mizmar
7d6003bdd1
Merge 375501fb89 into 19a27b39f2 2025-03-09 04:18:57 +01:00
mizmar
375501fb89
[Renderers/SDL2] Fix rounded corner border index 2025-03-03 18:36:04 +01:00

View File

@ -408,7 +408,7 @@ static void Clay_SDL2_Render(SDL_Renderer *renderer, Clay_RenderCommandArray ren
SDL_RenderCornerBorder(renderer, &boundingBox, config, 1, config->color);
}
if (config->width.bottom > 0 & config->cornerRadius.bottomLeft > 0) {
if (config->width.bottom > 0 & config->cornerRadius.bottomRight > 0) {
SDL_RenderCornerBorder(renderer, &boundingBox, config, 2, config->color);
}