commit | 858f2f2ae6d72f338fdd6d544b0c733814e22724 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Sun Sep 13 12:25:27 2015 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Wed Oct 07 15:17:57 2015 +0100 |
tree | 9a443d5b82eb16e5727f6539b3c9d3f6173c1a23 | |
parent | b69cfbdf18fa64606a76761b20bc268f4ac731e5 [diff] |
egl/dri2: ease srgb __DRIconfig conditionals One can simplify the if-else chain, by declaring the driconfigs as a two sized array, whist using srgb as a index to the correct entry. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>