1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Renames OutputType as DisplayType and promotes it to a scan target modal.

This commit is contained in:
Thomas Harte
2018-11-22 14:36:46 -05:00
parent bfe9704829
commit 396cf72029
4 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ void ScanTarget::set_modals(Modals modals) {
processing_width_ = std::min(processing_width_, 2048);
// Establish an input shader.
input_shader_ = input_shader(modals_.input_data_type, OutputType::RGB);
input_shader_ = input_shader(modals_.input_data_type, modals_.display_type);
glBindVertexArray(scan_vertex_array_);
glBindBuffer(GL_ARRAY_BUFFER, scan_buffer_name_);