diff options
author | Emil Velikov <[email protected]> | 2015-09-13 12:25:27 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-10-07 15:17:57 +0100 |
commit | 858f2f2ae6d72f338fdd6d544b0c733814e22724 (patch) | |
tree | 9a443d5b82eb16e5727f6539b3c9d3f6173c1a23 /src/mesa/x86-64 | |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/x86-64')
0 files changed, 0 insertions, 0 deletions