Speedup write color buffers
Merge pull request #308 from raven02/patch-6

Speedup write color buffers