public object getParameter(int pname) { #if _DEBUG Log.Info(string.Format("getParameter {0}", pname)); #endif int i; unsafe { Gl.glGetIntegerv(pname, &i); } this.ErrorTest(); #if _DEBUG Log.Info(string.Format("value {0}", i)); #endif return(i); }