diff options
Diffstat (limited to 'progs/demos/ray.c')
-rw-r--r-- | progs/demos/ray.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/ray.c b/progs/demos/ray.c index c2d8e4f545e..9cc464d2390 100644 --- a/progs/demos/ray.c +++ b/progs/demos/ray.c @@ -834,6 +834,8 @@ initdlists(void) gluQuadricTexture(obj, GL_TRUE); gluSphere(obj, SPHERE_RADIUS, 16, 16); glEndList(); + + gluDeleteQuadric(obj); } int @@ -854,7 +856,6 @@ main(int ac, char **av) } */ - glutInitWindowPosition(0, 0); glutInitWindowSize(WIDTH, HEIGHT); glutInit(&ac, av); |