blob: a079c3f3a1a93970b17311fd730ac4517c1de1c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef OFFSCREENCONTEXT_H_
#define OFFSCREENCONTEXT_H_
#include <iostream> // for error output
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);
#endif
|