diff options
author | Marek Olšák <[email protected]> | 2012-01-24 23:16:50 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-29 02:19:57 +0100 |
commit | c21d7b1e30edfc0e400836705645d188a0f538cd (patch) | |
tree | 896826b75f49844b2f6eea5f7c7802bd67fdcef6 /scons | |
parent | 171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f (diff) |
st/mesa: use table-driven approach to exposing extensions based on CAPs
This change is not exactly equivalent (sometimes we checked for non-zero,
sometimes if >0 or >1), but the behavior shouldn't change, because all drivers
report 0 for unsupported CAPs.
Exposing CAP_STREAM_OUTPUT_PAUSE_RESUME without CAP_MAX_STREAM_OUTPUT_BUFFERS
is a driver bug and st/mesa does no checking if the latter is supported as
well. Drivers must report CAPs consistently.
v2: make the array const
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions