1
Fork 0
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:
Aliaksandr Kalenik 2023-12-03 18:05:21 +01:00 committed by Andreas Kling
parent b5f9c1d003
commit 5c0cd0f484
6 changed files with 133 additions and 4 deletions

View file

@ -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);