aboutsummaryrefslogtreecommitdiffstats
path: root/psplash-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'psplash-fb.c')
-rw-r--r--psplash-fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/psplash-fb.c b/psplash-fb.c
index fe7f5db..681f5cc 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -161,13 +161,13 @@ psplash_fb_plot_pixel (PSplashFB *fb,
switch (fb->angle)
{
case 270:
- off = OFFSET (fb, fb->real_height - y - 1, x);
+ off = OFFSET (fb, fb->height - y - 1, x);
break;
case 180:
- off = OFFSET (fb, fb->real_width - x - 1, fb->real_height - y - 1);
+ off = OFFSET (fb, fb->width - x - 1, fb->height - y - 1);
break;
case 90:
- off = OFFSET (fb, y, fb->real_width - x - 1);
+ off = OFFSET (fb, y, fb->width - x - 1);
break;
case 0:
default: