summaryrefslogtreecommitdiff
path: root/pugl_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-30 01:35:25 +0000
committerDavid Robillard <d@drobilla.net>2012-04-30 01:35:25 +0000
commit11f56420c1fc7b4b3a04a13d48bf47a995b2efde (patch)
tree392f3da12ca3d559287a77287898ea27f81f2bbc /pugl_test.c
parente427c8510d56058550bf516f637d07f39676012c (diff)
Add shared library export stuff.
Update documentation.
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pugl_test.c b/pugl_test.c
index b1dd316..51084e5 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -39,10 +39,8 @@ onDisplay(PuglWindow* win)
glRotatef(xAngle, 0.0f, 1.0f, 0.0f);
glRotatef(yAngle, 1.0f, 0.0f, 0.0f);
- /* We tell we want to draw quads */
glBegin(GL_QUADS);
- /* Every four calls to glVertex, a quad is drawn */
glColor3f(0, 0, 0); glVertex3f(-1, -1, -1);
glColor3f(0, 0, 1); glVertex3f(-1, -1, 1);
glColor3f(0, 1, 1); glVertex3f(-1, 1, 1);