projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
egl: refactor dri2_create_screen() into three separate functions
[mesa.git]
/
src
/
egl
/
drivers
/
dri2
/
platform_android.c
diff --git
a/src/egl/drivers/dri2/platform_android.c
b/src/egl/drivers/dri2/platform_android.c
index 42820c9793a867276d9424bc291e92ea12e4e0f8..8384cab3904579ec9c33765062cf536fdcae74d5 100644
(file)
--- a/
src/egl/drivers/dri2/platform_android.c
+++ b/
src/egl/drivers/dri2/platform_android.c
@@
-1153,6
+1153,11
@@
dri2_initialize_android(_EGLDriver *drv, _EGLDisplay *dpy)
goto cleanup;
}
+ if (!dri2_setup_extensions(dpy))
+ goto cleanup;
+
+ dri2_setup_screen(dpy);
+
if (!droid_add_configs_for_visuals(drv, dpy)) {
err = "DRI2: failed to add configs";
goto cleanup;