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:
Václav Slavík
2007-04-03 08:46:53 +00:00
parent 43147cef6c
commit b39fc8d7b1
3 changed files with 126 additions and 15 deletions

View File

@@ -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;