platforms/drm: exit more cleanly if we can't find a buffer config

remotes/origin/work/temp_davepolish
Xaver Hugl 5 years ago
parent ef48c247e6
commit 83ccfbb571
  1. 4
      src/plugins/platforms/drm/egl_gbm_backend.cpp

@ -127,7 +127,9 @@ void EglGbmBackend::init()
bool EglGbmBackend::initRenderingContext()
{
initBufferConfigs();
if (!initBufferConfigs()) {
return false;
}
if (isPrimary()) {
if (!createContext() || !makeCurrent()) {
return false;

Loading…
Cancel
Save