Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/splash Nat Sloss in PR kern/46516: advance fb pointe...
details: https://anonhg.NetBSD.org/src/rev/b23e04ba69b9
branches: trunk
changeset: 779537:b23e04ba69b9
user: martin <martin%NetBSD.org@localhost>
date: Sat Jun 02 14:24:00 2012 +0000
description:
Nat Sloss in PR kern/46516: advance fb pointer by stride, not logical
width of the splash image.
diffstat:
sys/dev/splash/splash.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e87304a309f2 -r b23e04ba69b9 sys/dev/splash/splash.c
--- a/sys/dev/splash/splash.c Sat Jun 02 14:19:20 2012 +0000
+++ b/sys/dev/splash/splash.c Sat Jun 02 14:24:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: splash.c,v 1.11 2011/02/08 23:28:24 jmcneill Exp $ */
+/* $NetBSD: splash.c,v 1.12 2012/06/02 14:24:00 martin Exp $ */
/*-
* Copyright (c) 2006 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.11 2011/02/08 23:28:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.12 2012/06/02 14:24:00 martin Exp $");
#include "opt_splash.h"
@@ -271,7 +271,7 @@
fb[x] = SPLASH_INDEX(pix[0], pix[1], pix[2]) +
SPLASH_CMAP_OFFSET;
}
- fb += si->si_width;
+ fb += si->si_stride;
}
/* If we've just written to the shadow fb, copy it to the display */
Home |
Main Index |
Thread Index |
Old Index