Skip to content
jsgf edited this page Jan 21, 2011 · 1 revision

PSPGL supports specifying geometry in immediate mode within a glBegin/glEnd pair. Immediate mode is useful for writing programs quickly, debugging, instrumentation, etc, but it is never going to be a high-performance path.

The following primitives are supported:

  • GL_POINTS Only 1 pixel points
  • GL_LINES Only 1 pixel lines
  • GL_LINE_STRIP OK
  • GL_LINE_LOOP Behaves the same as a LINE_STRIP: the closing edge isn't drawn
  • GL_TRIANGLES OK
  • GL_TRIANGLE_STRIP OK
  • GL_TRIANGLE_FAN OK
  • GL_QUADS not supported
  • GL_QUAD_STRIP not supported
  • GL_POLYGON not supported
Clone this wiki locally