1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Avoid OpenGL restretching bug.

This commit is contained in:
Thomas Harte 2021-06-13 19:46:47 -04:00
parent 57713d63fa
commit 1ea4130035

View File

@ -33,7 +33,7 @@ void VideoBase::set_use_square_pixels(bool use_square_pixels) {
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.122f, 0.75f, 0.77f));
#else
if(use_square_pixels) {
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.112f, 0.75f, 0.73f));
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.09f, 0.75f, 0.77f));
} else {
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.12f, 0.75f, 0.77f));
}