summaryrefslogtreecommitdiffstats
path: root/libdimensionxx
diff options
context:
space:
mode:
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,