don't use priviledged calls in wxDFB to allow concurrent use of the display by >1 wxDFB apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -426,14 +426,10 @@ struct wxIDirectFBDisplayLayer : public wxDfbWrapper<IDirectFBDisplayLayer>
|
||||
return NULL;
|
||||
}
|
||||
|
||||
wxIDirectFBSurfacePtr GetSurface()
|
||||
{
|
||||
IDirectFBSurface *s;
|
||||
if ( Check(m_ptr->GetSurface(m_ptr, &s)) )
|
||||
return new wxIDirectFBSurface(s);
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
bool GetConfiguration(DFBDisplayLayerConfig *config)
|
||||
{ return Check(m_ptr->GetConfiguration(m_ptr, config)); }
|
||||
|
||||
wxVideoMode GetVideoMode();
|
||||
|
||||
bool GetCursorPosition(int *x, int *y)
|
||||
{ return Check(m_ptr->GetCursorPosition(m_ptr, x, y)); }
|
||||
|
Reference in New Issue
Block a user