| 46 | } |
| 47 | |
| 48 | unsigned int duIntToCol(int i, int a) |
| 49 | { |
| 50 | int r = bit(i, 1) + bit(i, 3) * 2 + 1; |
| 51 | int g = bit(i, 2) + bit(i, 4) * 2 + 1; |
| 52 | int b = bit(i, 0) + bit(i, 5) * 2 + 1; |
| 53 | return duRGBA(r*63,g*63,b*63,a); |
| 54 | } |
| 55 | |
| 56 | void duIntToCol(int i, float* col) |
| 57 | { |
no test coverage detected