Пример #1
0
 public void Create(bool fullscreen, int width, int height, bool audio)
 {
     //glc.MakeCurrent();
     if (!this.Context.IsCurrent)
     {
         throw new Exception("not current");
     }
     gl = new OpenGL(Width, Height);
     gl.SwapFunc = Swap;
 }
Пример #2
0
 public TextureId(int _id, OpenGL _gl, int _w, int _h, bool _a, bool _cube)
 {
     id = _id;
     gl = _gl;
     w = _w;
     h = _h;
     a = _a;
     cube = _cube;
 }
Пример #3
0
 public SlowDynamicVertexBuffer(OpenGL _gl)
 {
     gl = _gl;
 }