Re: how to draw a rectangle with outline only using 'glRecti(...)' ?
Posted by
gouessej on
Aug 10, 2015; 9:50am
URL: https://forum.jogamp.org/how-to-draw-a-rectangle-with-outline-only-using-glRecti-tp4035058p4035062.html
By the way, glRect shouldn't be used, rather use GL_POLYGON and pass 4 vertices, it's more flexible, it's easier to maintain on the long term, especially to switch to VBOs or to use ImmModeSink in the meantime.