mirror of https://github.com/odrling/Aegisub
Remove outdated comment
This commit is contained in:
parent
fbcca085c3
commit
be1237cbb5
|
@ -190,8 +190,6 @@ void VideoDisplay::Render() try {
|
||||||
if (!viewport_height || !viewport_width)
|
if (!viewport_height || !viewport_width)
|
||||||
PositionVideo();
|
PositionVideo();
|
||||||
|
|
||||||
// Note: Right now, GetContentScaleFactor() always returns 1
|
|
||||||
// This should change with wxWidgets 3.2, and thus fix HiDPI scaling issues
|
|
||||||
videoOut->Render(viewport_left, viewport_bottom, viewport_width * GetContentScaleFactor(),
|
videoOut->Render(viewport_left, viewport_bottom, viewport_width * GetContentScaleFactor(),
|
||||||
viewport_height * GetContentScaleFactor());
|
viewport_height * GetContentScaleFactor());
|
||||||
E(glViewport(0, std::min(viewport_bottom, 0), videoSize.GetWidth() * GetContentScaleFactor(),
|
E(glViewport(0, std::min(viewport_bottom, 0), videoSize.GetWidth() * GetContentScaleFactor(),
|
||||||
|
|
Loading…
Reference in New Issue