glCoreEnd - part-cw/lambdanative GitHub Wiki
(glCoreEnd)
glCoreEnd simulates an OpenGL end
call.
Note: This should not be called by a user directly
Example
Example 1: glgui:draw-line, a very inefficient way of drawing a line
(define (glgui:draw-line x1 y1 x2 y2 color)
(glCoreColor color)
(glCoreBegin GL_LINES)
(glCoreVertex2f (flo x1) (flo y1))
(glCoreVertex2f (flo x2) (flo y2))
(glCoreEnd))