mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibAccelGfx+LibWeb: Add text shadow support in GPU painter
This commit is contained in:
parent
b5f9c1d003
commit
5c0cd0f484
6 changed files with 133 additions and 4 deletions
|
@ -151,6 +151,12 @@ void delete_texture(Texture const& texture)
|
|||
verify_no_error();
|
||||
}
|
||||
|
||||
void set_uniform(Uniform const& uniform, int value)
|
||||
{
|
||||
glUniform1i(uniform.id, value);
|
||||
verify_no_error();
|
||||
}
|
||||
|
||||
void set_uniform(Uniform const& uniform, float value1, float value2)
|
||||
{
|
||||
glUniform2f(uniform.id, value1, value2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue