Searched refs:SHORT_TO_USHORT (Results 1 – 2 of 2) sorted by relevance
128 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) macro
231 #define TRX_US(us, f,n) us = SHORT_TO_USHORT(PTR_ELT(f,n))