progs/demos: Fix memory leak in fslight.c.
This commit is contained in:
@@ -353,6 +353,7 @@ MakeSphere(void)
|
||||
glNewList(SphereList, GL_COMPILE);
|
||||
gluSphere(obj, 2.0f, 10, 5);
|
||||
glEndList();
|
||||
gluDeleteQuadric(obj);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user