config: Use u16 for sample_count

`u8` causes configs to emit strange variants like `@Variant(\0\0\0\x86\x3)`
This commit is contained in:
Wunkolo 2023-11-12 11:17:13 -08:00
parent dba83f4898
commit 37c739603d

View File

@ -475,7 +475,7 @@ struct Values {
SwitchableSetting<bool> use_vsync_new{true, "use_vsync_new"};
Setting<bool> use_shader_jit{true, "use_shader_jit"};
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, "resolution_factor"};
SwitchableSetting<u8, true> sample_count{0, 0, 3, "sample_count"};
SwitchableSetting<u16, true> sample_count{0, 0, 3, "sample_count"};
SwitchableSetting<u16, true> frame_limit{100, 0, 1000, "frame_limit"};
SwitchableSetting<TextureFilter> texture_filter{TextureFilter::None, "texture_filter"};
SwitchableSetting<TextureSampling> texture_sampling{TextureSampling::GameControlled,