diff options
author | des <des@FreeBSD.org> | 1999-06-28 13:52:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1999-06-28 13:52:29 +0000 |
commit | 81a1333c81c9fbaafeb08b4be8d8cca289163416 (patch) | |
tree | 4b6fc9817684d7fece7df6b1b8c2f0585b147d33 /sys/dev/fb/splash_pcx.c | |
parent | d13ed34863526797d0f232004638fd4574969218 (diff) | |
download | FreeBSD-src-81a1333c81c9fbaafeb08b4be8d8cca289163416.zip FreeBSD-src-81a1333c81c9fbaafeb08b4be8d8cca289163416.tar.gz |
Use the correct value for banksize so splash_pcx works in LFB modes.
Diffstat (limited to 'sys/dev/fb/splash_pcx.c')
-rw-r--r-- | sys/dev/fb/splash_pcx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fb/splash_pcx.c b/sys/dev/fb/splash_pcx.c index 5423295..9b81c3f 100644 --- a/sys/dev/fb/splash_pcx.c +++ b/sys/dev/fb/splash_pcx.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: splash_pcx.c,v 1.1 1999/04/12 13:39:11 des Exp $ + * $Id: splash_pcx.c,v 1.2 1999/06/22 14:14:06 yokota Exp $ */ #include <sys/param.h> @@ -206,7 +206,7 @@ pcx_draw(video_adapter_t *adp) sbpsl = adp->va_line_width; sdepth = adp->va_info.vi_depth; splanes = adp->va_info.vi_planes; - banksize = adp->va_info.vi_window_size; + banksize = adp->va_window_size; for (origin = 0; origin < sheight*sbpsl; origin += banksize) { set_origin(adp, origin); |