| 34 | } |
| 35 | |
| 36 | unsigned int duIntToCol(int i, int a) |
| 37 | { |
| 38 | int r = bit(i, 1) + bit(i, 3) * 2 + 1; |
| 39 | int g = bit(i, 2) + bit(i, 4) * 2 + 1; |
| 40 | int b = bit(i, 0) + bit(i, 5) * 2 + 1; |
| 41 | return duRGBA(r*63,g*63,b*63,a); |
| 42 | } |
| 43 | |
| 44 | void duIntToCol(int i, float* col) |
| 45 | { |
no test coverage detected