am dae6f22e: fix a bug with RGBX_8888 surfaces would be rendered incorrectly by the MDP.

Merge commit 'dae6f22eb3b062aee703886796645fa480c714aa'

* commit 'dae6f22eb3b062aee703886796645fa480c714aa':
  fix a bug with RGBX_8888 surfaces would be rendered incorrectly by the MDP.
This commit is contained in:
Mathias Agopian
2009-08-22 07:50:15 -07:00
committed by Android Git Automerger

View File

@@ -106,7 +106,7 @@ static void intersect(struct copybit_rect_t *out,
static int get_format(int format) {
switch (format) {
case COPYBIT_FORMAT_RGB_565: return MDP_RGB_565;
case COPYBIT_FORMAT_RGBX_8888: return MDP_XRGB_8888; // currently wrong
case COPYBIT_FORMAT_RGBX_8888: return MDP_RGBX_8888;
case COPYBIT_FORMAT_RGB_888: return MDP_RGB_888;
case COPYBIT_FORMAT_RGBA_8888: return MDP_RGBA_8888;
case COPYBIT_FORMAT_BGRA_8888: return MDP_BGRA_8888;