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:
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user