summaryrefslogtreecommitdiffstats
path: root/src/mesa/Android.mk
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-10-07 12:32:52 -0700
committerKenneth Graunke <[email protected]>2011-10-11 10:26:52 -0700
commit3f5e938a9ded42ae8dc9ae2486e8d5c8b64cfe07 (patch)
tree5d29867af2f8a8c10ac83aacac6cc523b1013d87 /src/mesa/Android.mk
parentda2e41cd88dd68b658534390ed69dd422172d07b (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 'src/mesa/Android.mk')
0 files changed, 0 insertions, 0 deletions