commit | 660ed923ded3552e023ef8c3dd9f92e6792f1bd2 | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Tue Jan 31 11:29:06 2012 -0700 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Thu Feb 02 10:07:14 2012 -0700 |
tree | ed384752239b9fd32f64d70177865b51d43bac27 | |
parent | e06b1c65bc576a9b239841cbe3a8a8c2d6a8d09f [diff] |
mesa: Convert colors if span ChanType and renderbuffer data type don't match This is a partial revert of f9874fe. It turns out that the types don't always match. Specifically, this can happen when doing glCopyPixels from a float FBO to a RGBA8 FBO. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45429 Reviewed-by: Brian Paul <brianp@vmware.com>