Remove forcing OpenGLES

Apparently it was a terrible idea
wilder-5.14
Aleix Pol 12 years ago
parent f93fb9195d
commit a8680da57f
  1. 9
      krunner/main.cpp

@ -42,15 +42,6 @@ int main(int argc, char **argv)
{
KLocalizedString::setApplicationDomain("krunner");
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
// Forcing OpenGLES is better on some systems, allowing to
// take faster code-paths in our integration with the drivers
QSurfaceFormat format;
format.setRenderableType(QSurfaceFormat::OpenGLES);
QQuickWindow::setDefaultFormat(format);
#endif
QQuickWindow::setDefaultAlphaBuffer(true);
QApplication app(argc, argv);
// TODO: Make it a QGuiApplication once we don't depend on KDELibs4Support

Loading…
Cancel
Save