mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Remove alpha-related fields from visual structure to retain binary
compatibilty. Applications using ARGB visuals will need to use Render
or other mechanisms to compute pixel values instead of AllocColor
This commit is contained in:
parent
196aafb19a
commit
cff0043a34
3 changed files with 13 additions and 20 deletions
|
|
@ -75,10 +75,6 @@ typedef struct _Visual {
|
|||
* it may have more or fewer */
|
||||
unsigned long redMask, greenMask, blueMask;
|
||||
int offsetRed, offsetGreen, offsetBlue;
|
||||
#ifdef COMPOSITE
|
||||
unsigned long alphaMask;
|
||||
int offsetAlpha;
|
||||
#endif
|
||||
} VisualRec;
|
||||
|
||||
typedef struct _Depth {
|
||||
|
|
|
|||
Loading…
Reference in a new issue