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; }
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; }
public SlowDynamicVertexBuffer(OpenGL _gl) { gl = _gl; }