Justin Whear
02-25-2010, 04:49 PM
I'm using an FBO with a multisample renderbuffer to draw elements of my scene. I then use glBlitFramebufferEXT to copy the results to an FBO with a texture bound. This has the effect of drawing to texture but with anti-aliasing. This all works great.
My problem is that I want to occasionally draw lines which are only 1 pixel thick. To do this, I thought I could simply call glDisable(GL_LINE_SMOOTH)--but this seems to have no effect. I still get an anti-aliased line. Is this the expected behavior or should disabling line smoothing have the same effect as it would have if I were simply rendering straight to the backbuffer?
My problem is that I want to occasionally draw lines which are only 1 pixel thick. To do this, I thought I could simply call glDisable(GL_LINE_SMOOTH)--but this seems to have no effect. I still get an anti-aliased line. Is this the expected behavior or should disabling line smoothing have the same effect as it would have if I were simply rendering straight to the backbuffer?