diff options
author | Emil Velikov <[email protected]> | 2016-08-25 15:24:44 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-14 12:53:39 +0100 |
commit | d81ba763e38b726054dca5b59671ffa0166461b4 (patch) | |
tree | 35d719f29a5fa5591dac88c8fccd5f1520cfd50b /src/util/set.c | |
parent | 0b2b7191214eb77c5720a40231a6f2d28da63027 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/util/set.c')
0 files changed, 0 insertions, 0 deletions