Searched refs:USHORT_TO_UBYTE (Results 1 – 2 of 2) sorted by relevance
528 dst1[i][RCOMP] = USHORT_TO_UBYTE(src2[i][RCOMP]); in _mesa_convert_colors()529 dst1[i][GCOMP] = USHORT_TO_UBYTE(src2[i][GCOMP]); in _mesa_convert_colors()530 dst1[i][BCOMP] = USHORT_TO_UBYTE(src2[i][BCOMP]); in _mesa_convert_colors()531 dst1[i][ACOMP] = USHORT_TO_UBYTE(src2[i][ACOMP]); in _mesa_convert_colors()
126 #define USHORT_TO_UBYTE(s) ((GLubyte) ((s) >> 8)) macro