MGA: Implement gamma correction for 24+ bpp modes
This commit is contained in:
@@ -32,6 +32,9 @@ using atomic_int = std::atomic_int;
|
||||
|
||||
#define makecol(r, g, b) ((b) | ((g) << 8) | ((r) << 16))
|
||||
#define makecol32(r, g, b) ((b) | ((g) << 8) | ((r) << 16))
|
||||
#define getcolr(color) (((color) >> 16) & 0xFF)
|
||||
#define getcolg(color) (((color) >> 8) & 0xFF)
|
||||
#define getcolb(color) ((color) & 0xFF)
|
||||
|
||||
enum {
|
||||
VID_NONE = 0,
|
||||
|
||||
Reference in New Issue
Block a user