#154142 - TheMagnitude - Fri Apr 11, 2008 10:21 pm
Is there any reason why I shouldn't be able to do:
Also is there another colour function like RGB15(31,31,31) but RGB255(255,255,255) so I can have greater colour precision (im writing directly to the framebuffer);
Code: |
long variable = 1 << 15 /* It doesn't work for anything more than 14 and the calculations are not precise at 14 /* |
Also is there another colour function like RGB15(31,31,31) but RGB255(255,255,255) so I can have greater colour precision (im writing directly to the framebuffer);