fixed wxBitmap<->wxImage conversion to not exchange red and blue components
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,6 +113,13 @@ wxIDirectFBSurfacePtr wxIDirectFB::GetPrimarySurface()
|
||||
// wxIDirectFBSurface
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DFBSurfacePixelFormat wxIDirectFBSurface::GetPixelFormat()
|
||||
{
|
||||
DFBSurfacePixelFormat format = DSPF_UNKNOWN;
|
||||
GetPixelFormat(&format);
|
||||
return format;
|
||||
}
|
||||
|
||||
int wxIDirectFBSurface::GetDepth()
|
||||
{
|
||||
DFBSurfacePixelFormat format = DSPF_UNKNOWN;
|
||||
|
Reference in New Issue
Block a user