PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

Gamma Table Errors

Graphics drivers should return an error code if the following fields of GammaTbl do not contain these values:

gVersion == 0
This is currently the only defined version of the gamma table structure.
gType == 0
This indicates that the gamma table is not dependent on the frame buffer hardware. Few existing gamma tables are frame buffer- specific. This field formerly contained a NuBus construct, drHWId, which is no longer applicable.
gChanCnt == 1 || gChanCnt == 3
Only one or three channels of correction data are supported.

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)