Empy Rectangle

Sorry for the funny question but how to draw an empty rectangle sinse glRect draws only filled ones…

10x beforehand :slight_smile:

glPolygonMode (GL_FRONT_AND_BACK, GL_LINES), or simply draw lines instead :slight_smile:

10x…
drawing lines is not an option :slight_smile:

GL_LOOP_LINE instead of GL_QUAD in your glBegin function…