1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

terminal: reduce speed of morphing colors in modeset test

The high frequency of the color-morphing is kinda irritating. Reduce it
to a much lower frequency so you can actually look at it longer than few
seconds.
This commit is contained in:
David Herrmann 2014-09-20 09:45:26 +02:00
parent c1102405c1
commit 39cf40e846

View File

@ -252,9 +252,9 @@ static void modeset_draw(Modeset *m, const grdev_display_target *t) {
static void modeset_render(Modeset *m, grdev_display *d) {
const grdev_display_target *t;
m->r = next_color(&m->r_up, m->r, 20);
m->g = next_color(&m->g_up, m->g, 10);
m->b = next_color(&m->b_up, m->b, 5);
m->r = next_color(&m->r_up, m->r, 4);
m->g = next_color(&m->g_up, m->g, 3);
m->b = next_color(&m->b_up, m->b, 2);
GRDEV_DISPLAY_FOREACH_TARGET(d, t, 0) {
modeset_draw(m, t);