how to draw a rectangle with outline only using 'glRecti(...)' ?
Hi,
the rectangle can be drew using 'glRecti(...)', but the rectangle is filled by default.
how to draw a rectangle with outline only using 'glRecti(...)' ?
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.