projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaned up callback registering code in One demo, now its best practice
[freeglut]
/
progs
/
demos
/
spaceball
/
spaceball.c
diff --git
a/progs/demos/spaceball/spaceball.c
b/progs/demos/spaceball/spaceball.c
index
72dddba
..
52da93a
100644
(file)
--- a/
progs/demos/spaceball/spaceball.c
+++ b/
progs/demos/spaceball/spaceball.c
@@
-62,15
+62,7
@@
void disp(void)
glMatrixMode(GL_MODELVIEW);
\r
glLoadIdentity();
\r
glTranslatef(pos.x, pos.y, pos.z);
\r
glMatrixMode(GL_MODELVIEW);
\r
glLoadIdentity();
\r
glTranslatef(pos.x, pos.y, pos.z);
\r
-#if defined(WIN32)
\r
- /* This is STRICTLY a place-holder until we get this working properly for windows.
\r
- * I do not pretend that this is equivalent to the non-Windows equivalent. I just
\r
- * want the thing to build without errors.
\r
- */
\r
glMultMatrixf((float*)xform);
\r
glMultMatrixf((float*)xform);
\r
-#else
\r
- glMultTransposeMatrixf((float*)xform);
\r
-#endif
\r
\r
draw_cube();
\r
\r
\r
draw_cube();
\r
\r