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

/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macwm.c206 short devCount = 0; /* number of devices attached */ local
215 devCount++; /* count devices */
219 pSysGammaOut->devGamma = (precDeviceGamma *) NewPtr (sizeof (precDeviceGamma) * devCount); /* allocate for array of pointers to device records */
222 pSysGammaOut->numDevices = devCount; /* stuff count */
224 devCount = 0; /* reset iteration */
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 */
236 devCount
[all...]

Completed in 35 milliseconds