1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Merge pull request #800 from TomHarte/QtProject

UNREADY. Adds a provisional Qt target.
This commit is contained in:
Thomas Harte
2020-07-06 22:33:39 -04:00
committed by GitHub
177 changed files with 3702 additions and 495 deletions
+1 -1
View File
@@ -60,7 +60,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);