diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-01-26 05:20:25 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-01-26 05:20:25 (GMT) |
commit | a66ad9c4bc10696cd3167d3217c9aad532167705 (patch) | |
tree | d1a8572792e3476d79f27b463761b2265fc05d58 /src/OffscreenContext.h | |
parent | c116a0849c7531ec4d0e59b6d61aaf6137dcd568 (diff) |
add ostream to Context. improve error checking. fix indents
Diffstat (limited to 'src/OffscreenContext.h')
-rw-r--r-- | src/OffscreenContext.h | 1 |
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 |