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

/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglxsnoop.c66 GLubyte *sten = malloc(Width * Height * sizeof(GLubyte)); local in function:redraw
72 GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, sten);
75 if (sten[i] < min)
76 min = sten[i];
77 if (sten[i] > max)
78 max = sten[i];
87 image[i*4+2] = (GLint) ((sten[i] - min) * step);
90 free(sten);

Completed in 3 milliseconds