Various: Don't use boolean bitfields

Using bitfields causes less optimized code generation and the memory
savings are minimal as none of the objects are instantiated enough
times to be worth it.

See https://blogs.msdn.microsoft.com/oldnewthing/20081126-00/?p=20073
This commit is contained in:
Richard Stanway
2017-05-10 23:19:26 +02:00
parent 62c40eac0c
commit 9e95b2eb6f
10 changed files with 57 additions and 57 deletions

View File

@@ -38,10 +38,10 @@ struct scale_filter_data {
int cy_out;
enum obs_scale_type sampling;
gs_samplerstate_t *point_sampler;
bool aspect_ratio_only : 1;
bool target_valid : 1;
bool valid : 1;
bool undistort : 1;
bool aspect_ratio_only;
bool target_valid;
bool valid;
bool undistort;
};
static const char *scale_filter_name(void *unused)