directfb: description.surface_caps was already assigned conditionally
We have already assigned this flag in case the IDirectFBSurfaceLayer has the capability of premultiplied alpha. Do not set it unconditionally. Change-Id: Id5f9bd6bdfa29dc9cd35d913b61fb55c09f54864 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>bb10
parent
e6a4d6054d
commit
717ca1a2a6
|
|
@ -79,7 +79,6 @@ QDirectFbWindow::QDirectFbWindow(QWindow *tlw, QDirectFbInput *inputhandler)
|
|||
description.options = DFBWindowOptions(DWOP_ALPHACHANNEL);
|
||||
#endif
|
||||
description.caps = DFBWindowCapabilities(DWCAPS_DOUBLEBUFFER|DWCAPS_ALPHACHANNEL);
|
||||
description.surface_caps = DSCAPS_PREMULTIPLIED;
|
||||
|
||||
DFBResult result = layer->CreateWindow(layer, &description, m_dfbWindow.outPtr());
|
||||
if (result != DFB_OK) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue