diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-08-25 15:24:44 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-14 12:53:39 +0100 |
commit | d81ba763e38b726054dca5b59671ffa0166461b4 (patch) | |
tree | 35d719f29a5fa5591dac88c8fccd5f1520cfd50b /src/hgl | |
parent | 0b2b7191214eb77c5720a40231a6f2d28da63027 (diff) | |
download | external_mesa3d-d81ba763e38b726054dca5b59671ffa0166461b4.zip external_mesa3d-d81ba763e38b726054dca5b59671ffa0166461b4.tar.gz external_mesa3d-d81ba763e38b726054dca5b59671ffa0166461b4.tar.bz2 |
egl/x11: attribute for dri2_add_config failure
... in dri2_x11_add_configs_for_visuals().
Currently the latter does not consider that, thus in such cases it adds
"empty" configs in the list.
Properly account for things and as we do that we can reuse count,
instead of calling _eglGetArraySize to determine if we've added any
configs.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions