summaryrefslogtreecommitdiffstats
path: root/libdimensionxx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-08 17:51:10 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-08 17:51:10 +0000
commitb749d0c61b0d33324b4f2f0a127f7a2571d9082f (patch)
tree0e4e43a05ea5a9accb3c284e4c0eec6201af96ae /libdimensionxx
parentfaf9740f37e68cae0822bb196a6c3a163a7e364e (diff)
downloaddimension-b749d0c61b0d33324b4f2f0a127f7a2571d9082f.tar.xz
Don't animate in GL tests - turns out it's hellishly slow on slower
computers.
Diffstat (limited to 'libdimensionxx')
-rw-r--r--libdimensionxx/dimensionxx/gl.hpp2
-rw-r--r--libdimensionxx/gl.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/libdimensionxx/dimensionxx/gl.hpp b/libdimensionxx/dimensionxx/gl.hpp
index 3c33a51..d52ade5 100644
--- a/libdimensionxx/dimensionxx/gl.hpp
+++ b/libdimensionxx/dimensionxx/gl.hpp
@@ -48,7 +48,7 @@ namespace Dimension
class GL_Reader
{
public:
- // GL_Reader();
+ GL_Reader();
// ~GL_Reader();
Canvas read(unsigned int x0, unsigned int y0,
diff --git a/libdimensionxx/gl.cpp b/libdimensionxx/gl.cpp
index 9122e9b..aa54aed 100644
--- a/libdimensionxx/gl.cpp
+++ b/libdimensionxx/gl.cpp
@@ -55,6 +55,9 @@ namespace Dimension
m_drawn = true; // Don't draw again in destructor
}
+ // No-op
+ GL_Reader::GL_Reader() { }
+
// Read a canvas from a GL buffer
Canvas
GL_Reader::read(unsigned int x0, unsigned int y0,