summaryrefslogtreecommitdiff
path: root/src/OffscreenContext.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-26 05:20:25 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-26 05:20:25 (GMT)
commita66ad9c4bc10696cd3167d3217c9aad532167705 (patch)
treed1a8572792e3476d79f27b463761b2265fc05d58 /src/OffscreenContext.h
parentc116a0849c7531ec4d0e59b6d61aaf6137dcd568 (diff)
add ostream to Context. improve error checking. fix indents
Diffstat (limited to 'src/OffscreenContext.h')
-rw-r--r--src/OffscreenContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/OffscreenContext.h b/src/OffscreenContext.h
index 8645da7..a1792b4 100644
--- a/src/OffscreenContext.h
+++ b/src/OffscreenContext.h
@@ -8,6 +8,7 @@ struct OffscreenContext *create_offscreen_context(int w, int h);
void bind_offscreen_context(OffscreenContext *ctx);
bool teardown_offscreen_context(OffscreenContext *ctx);
bool save_framebuffer(OffscreenContext *ctx, const char *filename);
+bool save_framebuffer(OffscreenContext *ctx, std::ostream &output);
std::string offscreen_context_getinfo(OffscreenContext *ctx);
#endif
contact: Jan Huwald // Impressum