summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIan Romanick <idr@freedesktop.org>2010-04-19 10:10:38 -0700
committerIan Romanick <idr@freedesktop.org>2010-04-19 10:10:38 -0700
commitf20617a66c98c6179b4afd8b40ed4a8283ecc27d (patch)
tree3977355816d95a72aa690b5bb6149961f69dd282 /test
parentc166d369ab449e523ddcb514560e093232c04506 (diff)
Add Producer to the names of all the shape producer classesGLUshape
The shape consumer class already has Consumer on the name. Adding Producer to the names of the producer classes makes the producer / consumer nature a little more apparent.
Diffstat (limited to 'test')
-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);