// ************************************************** // // Project Created 4 / 10 / 2004 // Created By Joel Anderson // // ************************************************** import std.process; import gleetest; import net.BurtonRadons.dig.main; import net.BurtonRadons.dig.gl; class GLFrame : public CanvasGL { this (Control parent) { super (parent); GLeeInit(); test(); printf("go\n"); } void test() { glBeginQueryARB(GL_SAMPLES_PASSED_ARB, 1); glEndQueryARB(GL_SAMPLES_PASSED_ARB); } } class Program : public Frame { GLFrame frame; this() { //Register frame frame = new GLFrame(this); } } void main( ) { Program prog = new Program(); prog.showModalGame(); std.process.system("pause"); }