projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleaned up a bunch of warnings
[freeglut]
/
progs
/
demos
/
shapes
/
shapes.c
diff --git
a/progs/demos/shapes/shapes.c
b/progs/demos/shapes/shapes.c
index
2fe6bb4
..
ebac795
100644
(file)
--- a/
progs/demos/shapes/shapes.c
+++ b/
progs/demos/shapes/shapes.c
@@
-852,10
+852,12
@@
static void special (int key, int x, int y)
/* Cuboctahedron can't be shown when in shader mode, skip it */
if (useShader && NUMBEROF (table)-1 == ( unsigned )function_index)
+ {
if (key==GLUT_KEY_PAGE_UP)
function_index = 0;
else
function_index -= 1;
+ }
}