diff options
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h index a44e0c1..f401bef 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -9,6 +9,7 @@ #include <stdint.h> #endif #include "system-gl.h" +#include <iostream> class OffscreenView { @@ -24,6 +25,7 @@ public: void setupOrtho(bool offset=false); void paintGL(); bool save(const char *filename); + bool save(std::ostream &output); std::string getInfo(); GLint shaderinfo[11]; |