allow raw access to a part of the image only (faster when using alpha)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2314,7 +2314,7 @@ wxAlphaBlend(wxDC& dc, int xDst, int yDst, int w, int h, const wxBitmap& bmpSrc)
|
||||
|
||||
// combine them with the source bitmap using alpha
|
||||
wxAlphaPixelData dataDst(bmpDst),
|
||||
dataSrc(bmpSrc);
|
||||
dataSrc((wxBitmap &)bmpSrc);
|
||||
|
||||
wxCHECK_RET( dataDst && dataSrc,
|
||||
_T("failed to get raw data in wxAlphaBlend") );
|
||||
|
Reference in New Issue
Block a user