struct Context {
Context(glws::Context* context)
: wsContext(context),
- activeProgram(0)
+ activeProgram(0),
+ used(false)
{
}
glws::Context* wsContext;
GLuint activeProgram;
+ bool used;
};
extern bool insideList;
void frame_start();
void frame_complete(trace::Call &call);
+void initContext();
+
void updateDrawable(int width, int height);