mirror of
https://github.com/nicbarker/clay.git
synced 2025-05-18 00:08:05 +00:00
Compare commits
3 Commits
7d6003bdd1
...
6a4a37350a
Author | SHA1 | Date | |
---|---|---|---|
|
6a4a37350a | ||
|
fabdad43f6 | ||
|
375501fb89 |
2
clay.h
2
clay.h
@ -1,4 +1,4 @@
|
|||||||
// VERSION: 0.12
|
// VERSION: 0.13
|
||||||
|
|
||||||
/*
|
/*
|
||||||
NOTE: In order to use this library you must define
|
NOTE: In order to use this library you must define
|
||||||
|
@ -408,7 +408,7 @@ static void Clay_SDL2_Render(SDL_Renderer *renderer, Clay_RenderCommandArray ren
|
|||||||
SDL_RenderCornerBorder(renderer, &boundingBox, config, 1, config->color);
|
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);
|
SDL_RenderCornerBorder(renderer, &boundingBox, config, 2, config->color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user