1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-09 06:29:33 +00:00

Narrowed view to the centre 80% of a frame.

This commit is contained in:
Thomas Harte 2017-06-11 17:24:32 -04:00
parent 84d2feb2e6
commit ba5f34f827

View File

@ -24,6 +24,9 @@ Video::Video() :
"{"
"return float(texture(texID, coordinate).r) / 255.0;"
"}");
// Show only the centre 80% of the TV frame.
crt_->set_visible_area(Outputs::CRT::Rect(0.1f, 0.1f, 0.8f, 0.8f));
}
void Video::run_for_cycles(int number_of_cycles) {