Skip to content

Commit

Permalink
[maliit] Don't override the default surface format, extend it instead.
Browse files Browse the repository at this point in the history
This fixes warnings from the virtual keyboard about missing
depth and stencil buffers and potential rendering errors.
  • Loading branch information
sletta committed Aug 19, 2014
1 parent a19765f commit ccfa258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maliit-framework/src/quick/inputmethodquick.cpp
Expand Up @@ -41,7 +41,7 @@ QQuickView *createWindow(MAbstractInputMethodHost *host)
{
QScopedPointer<QQuickView> view(new QQuickView);

QSurfaceFormat format;
QSurfaceFormat format = view->requestedFormat();
format.setAlphaBufferSize(8);
view->setFormat(format);
view->setColor(QColor(Qt::transparent));
Expand Down

0 comments on commit ccfa258

Please sign in to comment.