mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
egl/android: Fix gl_config dereference
Fixes: 273e54391a ("egl/android: Remove hard-coded color-channel data")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28509>
This commit is contained in:
parent
eb4036a4be
commit
5a45077d84
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ droid_add_configs_for_visuals(_EGLDisplay *disp)
|
|||
continue;
|
||||
for (int j = 0; dri2_dpy->driver_configs[j]; j++) {
|
||||
const struct gl_config *gl_config =
|
||||
(struct gl_config *) dri2_dpy->driver_configs;
|
||||
(struct gl_config *) dri2_dpy->driver_configs[j];
|
||||
|
||||
if (gl_config->color_format != visuals[i].pipe_format)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue