mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
egl/android: simplify dri2_initialize_android()
eglInitialize() already handles the "retry using the software path" logic, there's no need to repeat it here. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6353>
This commit is contained in:
parent
cccb497d3c
commit
83b5c1abc6
1 changed files with 1 additions and 4 deletions
|
|
@ -1601,10 +1601,7 @@ dri2_initialize_android(_EGLDisplay *disp)
|
|||
}
|
||||
|
||||
disp->DriverData = (void *) dri2_dpy;
|
||||
if (!disp->Options.ForceSoftware)
|
||||
device_opened = droid_open_device(disp, false);
|
||||
if (!device_opened)
|
||||
device_opened = droid_open_device(disp, true);
|
||||
device_opened = droid_open_device(disp, disp->Options.ForceSoftware);
|
||||
|
||||
if (!device_opened) {
|
||||
err = "DRI2: failed to open device";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue