projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a2fc1
)
move initialization code aroudn so glPointParameter isn't called before checking...
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Mon, 28 Aug 2006 21:19:34 +0000
(21:19 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Mon, 28 Aug 2006 21:19:34 +0000
(21:19 +0000)
progs/demos/spriteblast.c
patch
|
blob
|
history
diff --git
a/progs/demos/spriteblast.c
b/progs/demos/spriteblast.c
index d6e9a4de2fd1d38b02a0a3e48cfa26ac61822477..f0d3d0dfd41f4bfd8befd6adc9a576dc085ac20d 100644
(file)
--- a/
progs/demos/spriteblast.c
+++ b/
progs/demos/spriteblast.c
@@
-537,6
+537,9
@@
main(int argc, char **argv)
glutAddMenuEntry("Quit", 666);
glutAttachMenu(GLUT_RIGHT_BUTTON);
+ makePointList();
+ makeSprite();
+
glShadeModel(GL_FLAT);
glEnable(GL_DEPTH_TEST);
glEnable(GL_POINT_SMOOTH);
@@
-546,9
+549,6
@@
main(int argc, char **argv)
glPointParameterfvARB(GL_POINT_DISTANCE_ATTENUATION_ARB, theQuad);
#endif
- makePointList();
- makeSprite();
-
glutMainLoop();
return 0; /* ANSI C requires main to return int. */
}