mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Avoid OpenGL restretching bug.
This commit is contained in:
parent
57713d63fa
commit
1ea4130035
@ -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));
|
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.122f, 0.75f, 0.77f));
|
||||||
#else
|
#else
|
||||||
if(use_square_pixels) {
|
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 {
|
} else {
|
||||||
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.12f, 0.75f, 0.77f));
|
crt_.set_visible_area(Outputs::Display::Rect(0.128f, 0.12f, 0.75f, 0.77f));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user