summaryrefslogtreecommitdiff
path: root/src/modules/plasma/plasma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/plasma/plasma.c')
-rw-r--r--src/modules/plasma/plasma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plasma/plasma.c b/src/modules/plasma/plasma.c
index 81540c5..0a6b1e5 100644
--- a/src/modules/plasma/plasma.c
+++ b/src/modules/plasma/plasma.c
@@ -156,7 +156,7 @@ static void plasma_render_fragment(void *context, unsigned ticks, unsigned cpu,
*buf = color2pixel(&c);
}
- buf = ((void *)buf) + fragment->stride;
+ buf += fragment->stride;
}
}
© All Rights Reserved