diff --git a/libcopybit/copybit.cpp b/libcopybit/copybit.cpp index cb17de2..bd548a1 100644 --- a/libcopybit/copybit.cpp +++ b/libcopybit/copybit.cpp @@ -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;