diff --git a/source/Irrlicht/COpenGLDriver.cpp b/source/Irrlicht/COpenGLDriver.cpp index c01ece63..b0f122b0 100644 --- a/source/Irrlicht/COpenGLDriver.cpp +++ b/source/Irrlicht/COpenGLDriver.cpp @@ -1860,7 +1860,9 @@ void COpenGLDriver::draw2DLine(const core::position2d& start, glDrawElements(GL_LINES, 2, GL_UNSIGNED_SHORT, Quad2DIndices); - // Draw non-drawn last pixel (search for "diamond exit rule") + // Draw sometimes non-drawn first & last pixel (search for "diamond exit rule") + // HACK this messes with alpha blending + glDrawArrays(GL_POINTS, 0, 1); glDrawArrays(GL_POINTS, 1, 1); } }