if (AGL.aglGetCurrentContext () == glContext) return; AGL.aglSetCurrentContext (glContext);
checkWidget (); if (AGL.aglGetCurrentContext () != context) { AGL.aglSetCurrentContext (context); }
public void setCurrent () {	if (AGL.aglGetCurrentContext () == glContext) return;	AGL.aglSetCurrentContext (glContext);}