1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-30 22:56:03 +00:00

Constrained output to the centre 90%.

This commit is contained in:
Thomas Harte 2017-08-02 19:55:44 -04:00
parent 3ca9c38777
commit f5e2dd410e

View File

@ -224,7 +224,7 @@ class CRTCBusHandler {
"uint sample = texture(texID, coordinate).r;"
"return vec3(float((sample >> 4) & 3u), float((sample >> 2) & 3u), float(sample & 3u)) / 2.0;"
"}");
// TODO: better vectorise the above.
crt_->set_visible_area(Outputs::CRT::Rect(0.05f, 0.05f, 0.9f, 0.9f));
}
void close_output() {