Replace bitsperpixel' by log2_bpp' for thats the value that is in it

and not the number of bits per pixel !
This commit is contained in:
reinoud 2001-03-20 12:52:03 +00:00
parent e8f67fd5b7
commit adbed15428

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidc.h,v 1.10 2001/02/25 17:17:55 reinoud Exp $ */
/* $NetBSD: vidc.h,v 1.11 2001/03/20 12:52:03 reinoud Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@ -220,7 +220,7 @@ struct vidc_mode {
int pixel_rate;
int hswr, hbsr, hdsr, hder, hber, hcr;
int vswr, vbsr, vdsr, vder, vber, vcr;
int bitsperpixel;
int log2_bpp;
int sync_pol;
int frame_rate;
};
@ -240,7 +240,7 @@ typedef struct
#define XRES mode.hder
#define YRES mode.vder
#define BITSPERPIXEL mode.bitsperpixel
#define NUMCOLOURS (1 << mode.log2_bpp)
struct vidc_info
{