Correct QueryPictFormats reply fields.

The QueryPictFormats reply referred to a fallback which does not exist and didn't document the ndepths and nvisuals fields.
This commit is contained in:
Robert Ancell 2014-05-21 10:19:46 +12:00 committed by Adam Jackson
parent e745e6c475
commit b9f7501606

View file

@ -519,9 +519,10 @@ QueryPictFormats
->
fallback: PICTFORMAT
formats: LISTofPICTFORMINFO
screens: LISTofPICTSCREEN
ndepths: CARD32
nvisuals: CARD32
subpixels: LISTofSUBPIXEL
Errors:
@ -532,8 +533,8 @@ QueryPictFormats
Every PictFormat must match a supported depth, but not every
PictFormat need have a matching visual.
The fallback format is used as an intermediate representation
in cases where there is no ideal choice.
The total number of PICTDEPTH and PICTVISUAL objects is this reply
is given in 'ndepths' and 'nvisuals'.
The relationship between the red, green and blue elements making
up each pixel indexed by screen is returned in subpixels.