Sorry for the funny question but how to draw an empty rectangle sinse glRect draws only filled ones…
10x beforehand
Sorry for the funny question but how to draw an empty rectangle sinse glRect draws only filled ones…
10x beforehand
glPolygonMode (GL_FRONT_AND_BACK, GL_LINES), or simply draw lines instead
10x…
drawing lines is not an option
GL_LOOP_LINE instead of GL_QUAD in your glBegin function…