diff --git a/aegisub/gl_wrap.cpp b/aegisub/gl_wrap.cpp index 1b180477c..9ffe75bb0 100644 --- a/aegisub/gl_wrap.cpp +++ b/aegisub/gl_wrap.cpp @@ -250,13 +250,10 @@ void OpenGLWrapper::SetFillColour(wxColour col,float alpha) { // Line void OpenGLWrapper::SetModeLine() { glColor4f(r1,g1,b1,a1); - if (a1 == 1.0f) glDisable(GL_BLEND); - else { - glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); - } + glEnable(GL_BLEND); + glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); glLineWidth(lw); - //glEnable(GL_LINE_SMOOTH); + glEnable(GL_LINE_SMOOTH); } diff --git a/aegisub/video_display_visual.cpp b/aegisub/video_display_visual.cpp index ab02cb374..656b5900f 100644 --- a/aegisub/video_display_visual.cpp +++ b/aegisub/video_display_visual.cpp @@ -468,6 +468,7 @@ void VideoDisplayVisual::DrawOverlay() { // Current position info if (mode == 0 && x >= 0 && x < w && y >= 0 && y < h) { // Draw cross + glDisable(GL_LINE_SMOOTH); glEnable(GL_COLOR_LOGIC_OP); glLogicOp(GL_INVERT); glBegin(GL_LINES);