コード例 #1
0
 private void glControl1_SizeChanged(object sender, EventArgs e)
 {
     GlMain.Resize(glControl1.Width, glControl1.Height);
     glControl1.Invalidate();
 }
コード例 #2
0
 private void glControl1_ContextCreated(object sender, OpenGL.GlControlEventArgs e)
 {
     GlMain.Initialize();
     GlMain.Resize(glControl1.Width, glControl1.Height);
 }