progs/glsl: Fix memory leak in deriv.c.
This commit is contained in:
@@ -140,6 +140,7 @@ MakeSphere(void)
|
|||||||
glNewList(SphereList, GL_COMPILE);
|
glNewList(SphereList, GL_COMPILE);
|
||||||
gluSphere(obj, 2.0f, 30, 15);
|
gluSphere(obj, 2.0f, 30, 15);
|
||||||
glEndList();
|
glEndList();
|
||||||
|
gluDeleteQuadric(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user