diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-08 17:51:17 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-08 17:51:17 +0000 |
commit | 5fa3d9e80212271231dd539867688fb4b74cd62f (patch) | |
tree | cdde92dca8e2a62169c19bf2223769078f581ac4 /tests | |
parent | b749d0c61b0d33324b4f2f0a127f7a2571d9082f (diff) | |
download | dimension-5fa3d9e80212271231dd539867688fb4b74cd62f.tar.xz |
Rename GL_Drawer to GL_Writer for consistency.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/glxx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/glxx.cpp b/tests/glxx.cpp index 2515156..b22111f 100644 --- a/tests/glxx.cpp +++ b/tests/glxx.cpp @@ -37,20 +37,20 @@ main() { { Raytracer raytracer(scene); - GL_Drawer drawer(scene.canvas()); + GL_Writer writer(scene.canvas()); // Render the scene Progress progress = raytracer.render_async(); // Display the scene as it's rendered while (progress.progress() < 1.0) { - drawer.draw(); + writer.write(); display.flush(); } // Make sure we show the completed rendering progress.finish(); - drawer.draw(); + writer.write(); display.flush(); } @@ -63,8 +63,8 @@ main() { = reader.read(0, 0, scene.canvas().width(), scene.canvas().height()); // And write it again - GL_Drawer drawer(canvas); - drawer.draw(); + GL_Writer writer(canvas); + writer.write(); display.flush(); // Pause for a second |