mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Fixed mistimed reset of the target output line. Now all that's left is occasional noise.
This commit is contained in:
parent
7a737e0790
commit
44d3fd6d5b
@ -239,6 +239,9 @@ void OpenGLOutputBuilder::draw_frame(unsigned int output_width, unsigned int out
|
||||
_buffer_builder->get_image_pointer());
|
||||
}
|
||||
|
||||
// buffer usage restart from 0 for the next time around
|
||||
_composite_src_output_y = 0;
|
||||
|
||||
// data having been grabbed, allow the machine to continue
|
||||
_output_mutex->unlock();
|
||||
|
||||
@ -285,14 +288,10 @@ void OpenGLOutputBuilder::draw_frame(unsigned int output_width, unsigned int out
|
||||
|
||||
active_pipeline++;
|
||||
}
|
||||
}
|
||||
_composite_src_output_y = 0;
|
||||
|
||||
// transfer to framebuffer
|
||||
framebuffer->bind_framebuffer();
|
||||
|
||||
if(submitted_output_data)
|
||||
{
|
||||
glEnable(GL_BLEND);
|
||||
|
||||
// Ensure we're back on the output framebuffer, drawing from the output array buffer
|
||||
|
Loading…
Reference in New Issue
Block a user