mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-07 23:08:03 +00:00
[Renderers/SDL2] Make SDL_RenderCornerBorder static (#263)
This commit is contained in:
parent
a62ee15758
commit
47c8e9178e
@ -146,7 +146,7 @@ static void SDL_RenderFillRoundedRect(SDL_Renderer* renderer, const SDL_FRect re
|
|||||||
}
|
}
|
||||||
|
|
||||||
//all rendering is performed by a single SDL call, using twi sets of arcing triangles, inner and outer, that fit together; along with two tringles to fill the end gaps.
|
//all rendering is performed by a single SDL call, using twi sets of arcing triangles, inner and outer, that fit together; along with two tringles to fill the end gaps.
|
||||||
void SDL_RenderCornerBorder(SDL_Renderer *renderer, Clay_BoundingBox* boundingBox, Clay_BorderRenderData* config, int cornerIndex, Clay_Color _color){
|
static void SDL_RenderCornerBorder(SDL_Renderer *renderer, Clay_BoundingBox* boundingBox, Clay_BorderRenderData* config, int cornerIndex, Clay_Color _color){
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
//The arc is constructed of outer triangles and inner triangles (if needed).
|
//The arc is constructed of outer triangles and inner triangles (if needed).
|
||||||
//First three vertices are first outer triangle's vertices
|
//First three vertices are first outer triangle's vertices
|
||||||
|
Loading…
Reference in New Issue
Block a user