forked from mia/Aegisub
Fix rendering errors with the cross visual tool and detached video
Originally committed to SVN as r5977.
This commit is contained in:
parent
ffa811c8bc
commit
1a68f12dcb
1 changed files with 2 additions and 2 deletions
|
@ -70,9 +70,9 @@ void VisualToolCross::Draw() {
|
|||
gl.SetLineColour(*wxWHITE, 1.0, 1);
|
||||
float lines[] = {
|
||||
0.f, mouse_pos.Y(),
|
||||
video_res.X(), mouse_pos.Y(),
|
||||
video_res.X() + video_pos.X() * 2, mouse_pos.Y(),
|
||||
mouse_pos.X(), 0.f,
|
||||
mouse_pos.X(), video_res.Y()
|
||||
mouse_pos.X(), video_res.Y() + video_pos.Y() * 2
|
||||
};
|
||||
gl.DrawLines(2, lines, 4);
|
||||
gl.ClearInvert();
|
||||
|
|
Loading…
Reference in a new issue