diff options
author | Kenneth Graunke <[email protected]> | 2011-10-07 12:32:52 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-10-11 10:26:52 -0700 |
commit | 3f5e938a9ded42ae8dc9ae2486e8d5c8b64cfe07 (patch) | |
tree | 5d29867af2f8a8c10ac83aacac6cc523b1013d87 /configs/catamount-osmesa-pgi | |
parent | da2e41cd88dd68b658534390ed69dd422172d07b (diff) |
i965: Replace incorrect use of GLboolean with enum brw_compression.
brw_set_compression_control took a GLboolean as an argument, then
promptly used a switch statement to compare it with various enumeration
values. Clearly it's not actually a boolean.
Introduce a new enumeration type, enum brw_compression, and use that.
Found by converting GLboolean to bool; clang then gave warnings about
switching on a boolean and ultimately duplicated case errors.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'configs/catamount-osmesa-pgi')
0 files changed, 0 insertions, 0 deletions