struct Context {
Context(glws::Context* context)
: wsContext(context),
+ drawable(0),
activeProgram(0),
used(false)
{
}
glws::Context* wsContext;
+
+ // Bound drawable
+ glws::Drawable *drawable;
+
GLuint activeProgram;
bool used;
extern bool insideGlBeginEnd;
-extern glws::Drawable *currentDrawable;
extern Context *currentContext;