Do not glReadPixels() with type GL_RED.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 20 Mar 2014 20:16:49 +0000 (21:16 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 20 Mar 2014 20:43:47 +0000 (21:43 +0100)
commit3a36e34bd2b4e374bc501606ec28111eb3822334
tree07808af7f7ce6d7040d4f3df0eea7305d98326ad
parentbd98e07fa5ba3cb783e8e9d16ab4cc93a9fa3100
Do not glReadPixels() with type GL_RED.

GLES can only read RGBA pixels. Downconvert ourselves when we need to.
init.cpp
test_util.cpp