Searched refs:pSysGammaOut (Results 1 - 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macwm.c205 precSystemGamma pSysGammaOut; /* return pointer to system device gamma info */ local
210 pSysGammaOut = (precSystemGamma) NewPtr (sizeof (recSystemGamma)); /* allocate for structure */
219 pSysGammaOut->devGamma = (precDeviceGamma *) NewPtr (sizeof (precDeviceGamma) * devCount); /* allocate for array of pointers to device records */
220 if (pSysGammaOut)
222 pSysGammaOut->numDevices = devCount; /* stuff count */
228 pSysGammaOut->devGamma [devCount] = (precDeviceGamma) NewPtr (sizeof (recDeviceGamma)); /* new device record */
229 if (pSysGammaOut->devGamma [devCount]) /* if we actually allocated memory */
231 pSysGammaOut->devGamma [devCount]->hGD = hGDevice; /* stuff handle */
232 pSysGammaOut->devGamma [devCount]->pDeviceGamma = (GammaTblPtr)GetDeviceGamma (hGDevice); /* copy gamma table */
241 return (Ptr) pSysGammaOut; /* retur
[all...]

Completed in 164 milliseconds