glPolygonMode(GL_BACK,GL_FILL) problem ?
BlitzMax Forums/BlitzMax Beginners Area/glPolygonMode(GL_BACK,GL_FILL) problem ? I dunno if it's supposed to do that but what I imagine is that four lines are drawn, from x1,y1 to x2,y2 to x3,y3 to x4,y4 and back to x1,y1 again, and when the last pixel of the last line is meant to be drawn, it overlaps the first pixel which was drawn, cancelling it out??
there is a "draw last pixel" flag somewhere
Strange this doesnt happen to me
Maybe it's gfx card/driver specific. The outline mode is handles by OpenGL, not by Blitz toggling a flag. If you use Max2D and DrawLine, you can use that flag, but if you do it by setting the OpenGL rendering state for the backbuffer, OpenGL manages it