mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[NTVDM]: VGA: Fix VGA_DAC_TO_COLOR macro (/me looks at [TheFlash]... :) )
svn path=/branches/ntvdm/; revision=61267
This commit is contained in:
parent
5303c91efa
commit
aac5c65456
|
@ -22,7 +22,7 @@
|
|||
#define VGA_BITMAP_INFO_SIZE (sizeof(BITMAPINFOHEADER) + 2 * (VGA_PALETTE_SIZE / 3))
|
||||
#define VGA_MINIMUM_WIDTH 400
|
||||
#define VGA_MINIMUM_HEIGHT 300
|
||||
#define VGA_DAC_TO_COLOR(x) (((x) << 2) | ((x) >> 6))
|
||||
#define VGA_DAC_TO_COLOR(x) (((x) << 2) | ((x) >> 4))
|
||||
#define VGA_COLOR_TO_DAC(x) ((x) >> 2)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue