diff options
-rw-r--r-- | vcl/android/androidinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx index 02219c816cb1..b20d7c4b9300 100644 --- a/vcl/android/androidinst.cxx +++ b/vcl/android/androidinst.cxx @@ -231,9 +231,9 @@ static void BlitFrameRegionToWindow(ANativeWindow_Buffer *pOutBuffer, nDestX * 4 /* dest pixel size */ ); for (unsigned int x = 0; x < (unsigned int)(aSrcRect.right - aSrcRect.left); x++) { - dp[x*4 + 0] = sp[x*3 + 0]; // B + dp[x*4 + 0] = sp[x*3 + 2]; // R dp[x*4 + 1] = sp[x*3 + 1]; // G - dp[x*4 + 2] = sp[x*3 + 2]; // R + dp[x*4 + 2] = sp[x*3 + 0]; // B dp[x*4 + 3] = 255; // A } break; |