{ EGL_STENCIL_SIZE, __DRI_ATTRIB_STENCIL_SIZE },
};
-void
+int
droid_screen_convert_config(struct droid_screen *screen,
const __DRIconfig *conf, _EGLConfig *egl_conf)
{
if (!loader->core->getConfigAttrib(conf, dri_attrib, &dri_value)) {
LOGE("failed to get attribute %02d for %p", dri_attrib, conf);
- continue;
+ return 0;
}
switch (egl_attrib) {
}
SET_CONFIG_ATTRIB(egl_conf, egl_attrib, egl_value);
}
+
+ return loader->backend->process_config(loader->backend, egl_conf);
}
struct droid_context *