1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Attempts a fix of frame_was_complete_ logic, to try to eliminate black flashes.

This commit is contained in:
Thomas Harte
2019-01-14 21:42:45 -05:00
parent f373a3fbb1
commit 55290f4dad
3 changed files with 13 additions and 5 deletions
+2 -1
View File
@@ -123,7 +123,8 @@ class ScanTarget: public Outputs::Display::ScanTarget {
Line *active_line_ = nullptr;
int provided_scans_ = 0;
bool is_first_in_frame_ = true;
bool frame_was_complete_ = true;
bool frame_is_complete_ = true;
bool previous_frame_was_complete_ = true;
// OpenGL storage handles for buffer data.
GLuint scan_buffer_name_ = 0, scan_vertex_array_ = 0;