diff options
Diffstat (limited to 'bug_28_fix.patch')
-rw-r--r-- | bug_28_fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bug_28_fix.patch b/bug_28_fix.patch new file mode 100644 index 000000000000..b4ba3b36e35e --- /dev/null +++ b/bug_28_fix.patch @@ -0,0 +1,16 @@ +diff --git a/bgraqtbitmap.pas b/bgraqtbitmap.pas +index c232c8d..39cb0f9 100644 +--- a/bgraqtbitmap.pas ++++ b/bgraqtbitmap.pas +@@ -107,9 +107,9 @@ begin +
+ RawImage.Init;
+ if TBGRAPixel_RGBAOrder then
+- RawImage.Description.Init_BPP32_R8G8B8_BIO_TTB(AWidth, AHeight)
++ RawImage.Description.Init_BPP32_R8G8B8A8_BIO_TTB(AWidth, AHeight)
+ else
+- RawImage.Description.Init_BPP32_B8G8R8_BIO_TTB(AWidth, AHeight);
++ RawImage.Description.Init_BPP32_B8G8R8A8_BIO_TTB(AWidth, AHeight);
+ RawImage.Description.LineOrder := ALineOrder;
+ RawImage.Description.LineEnd := rileDWordBoundary;
+ RawImage.Data := PByte(AData);
|