mirror of
https://github.com/IllusionMan1212/C2048.git
synced 2026-10-24 02:12:31 +00:00
dont scale border radius with window size
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ void apply_translation(Matrix4x4 *matrix, Vec2f pos) {
|
||||
mult_4x4(matrix, &temp);
|
||||
}
|
||||
|
||||
Color mul_color(Color color, float amount) {
|
||||
Color mult_color(Color color, float amount) {
|
||||
Color result = color;
|
||||
|
||||
result.r = CORE_CLAMP((u8)((float)result.r * amount), 0, 255);
|
||||
|
||||
Reference in New Issue
Block a user