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

/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_cindex.c218 GLUTcolormap *copycmap; local in function:glutCopyColormap
223 copycmap = __glutAssociateNewColormap(dstvis);
227 if (last > copycmap->size) {
228 last = copycmap->size;
233 copycmap->cells[i].component[GLUT_RED] =
237 copycmap->cells[i].component[GLUT_GREEN] =
241 copycmap->cells[i].component[GLUT_BLUE] =
246 XStoreColor(__glutDisplay, copycmap->cmap, &color);

Completed in 3 milliseconds