Being Sneaky
BlitzMax Forums/BlitzMax Beginners Area/Being Sneaky
| ||
I noticed that SetColor red,green,blue does a max/min for each to check 0..255 range. then it does color4ub:Byte[0] = 255 color4ub:Byte[1] = 127 color4ub:Byte[2] = 255 color4ub:Byte[3] = 255 glColor4ubv color4ub I've found that having these lines in my code is about 60% of the time for setcolor command. I am using a lot of these commands! I know it's naughty, but any shortfalls? Jim |
| ||
what happens if you use the directx renderer? Bye Ron |
| ||
I see what you mean, different code. Is OpenGL not on every PC as well as dx? Jim |