Replaced switches in Renderer::readPixels with calls to color reading and writing functions.

TRAC #23256

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
2 files changed