summaryrefslogtreecommitdiff
path: root/test/sphere.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sphere.cpp')
-rw-r--r--test/sphere.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sphere.cpp b/test/sphere.cpp
index adcce4e..ae2c5cf 100644
--- a/test/sphere.cpp
+++ b/test/sphere.cpp
@@ -4,7 +4,7 @@
class check_sphere : public GLUshapeConsumer {
public:
- check_sphere(const GLUshape &shape, double r) :
+ check_sphere(const GLUshapeProducer &shape, double r) :
pass(true), vert(0), prim(0), elts(0), r(r), mode(0)
{
primitive_count = shape.primitive_count();
@@ -164,7 +164,7 @@ public:
int
main(int argc, char **argv)
{
- GLUsphere s(4.0, 5, 5);
+ GLUsphereProducer s(4.0, 5, 5);
check_sphere c(s, 4.0);
s.generate(& c);