mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
LibAccelGfx+LibWeb: Implement rounded corners rectangle painting
For now corners antialiasing is missing.
This commit is contained in:
parent
0e1bd54896
commit
53c015695e
5 changed files with 106 additions and 2 deletions
|
@ -137,6 +137,12 @@ void delete_texture(Texture const& texture)
|
|||
verify_no_error();
|
||||
}
|
||||
|
||||
void set_uniform(Uniform const& uniform, float value1, float value2)
|
||||
{
|
||||
glUniform2f(uniform.id, value1, value2);
|
||||
verify_no_error();
|
||||
}
|
||||
|
||||
void set_uniform(Uniform const& uniform, float value1, float value2, float value3, float value4)
|
||||
{
|
||||
glUniform4f(uniform.id, value1, value2, value3, value4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue