public void drawElements(int mode, int count, int type, int offset)
        {
#if _DEBUG
            Log.Info(string.Format("drawElements {0} {1} {2} {3}", mode, count, type, offset));
#endif
            unsafe
            {
                Gl.glDrawElements(mode, count, type, (void *)offset);
            }
            this.ErrorTest();
        }