-
- Downloads
graphics: Add precondition checks on enum arguments
We should fail early if the argument cannot possibly be a valid window
system or rendering interface. The valid window systems are
in the range 0 <= window_system < SRT_N_WINDOW_SYSTEMS, and the valid
rendering interfaces follow the same pattern.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
278932df
No related branches found
No related tags found
Loading
Please register or sign in to comment