mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Narrowed view to the centre 80% of a frame.
This commit is contained in:
parent
84d2feb2e6
commit
ba5f34f827
@ -24,6 +24,9 @@ Video::Video() :
|
|||||||
"{"
|
"{"
|
||||||
"return float(texture(texID, coordinate).r) / 255.0;"
|
"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) {
|
void Video::run_for_cycles(int number_of_cycles) {
|
||||||
|
Loading…
Reference in New Issue
Block a user