1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-24 05:18:36 +00:00

Starts to add Qt target; resolves many build warnings.

This commit is contained in:
Thomas Harte
2020-05-30 00:37:06 -04:00
parent 743353a0ed
commit 267006782f
92 changed files with 395 additions and 179 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ void ScanTarget::set_uniforms(ShaderType type, Shader &target) const {
}
}
void ScanTarget::set_sampling_window(int output_width, int output_height, Shader &target) {
void ScanTarget::set_sampling_window(int output_width, int, Shader &target) {
if(modals_.display_type != DisplayType::CompositeColour) {
const float one_pixel_width = float(modals_.cycles_per_line) * modals_.visible_area.size.width / float(output_width);
const float clocks_per_angle = float(modals_.cycles_per_line) * float(modals_.colour_cycle_denominator) / float(modals_.colour_cycle_numerator);