How can I use OpenGL Command to draw a separate bar to separate different windows shown on the view? (i draw different views using different viewport in the same window, but i want to separate it by a line)
I’ve tried GL_LINES, but it doesn’t appear on the screen.
Originally posted by gentlement:
[b]How can I use OpenGL Command to draw a separate bar to separate different windows shown on the view? (i draw different views using different viewport in the same window, but i want to separate it by a line)
I’ve tried GL_LINES, but it doesn’t appear on the screen.
thanks for your kindly help.[/b]
It is hard to guess what the problem is without more information.
Maybe your bars are outside the viewport?
Maybe the depth test failed?