public void attachShader(WebGLProgram program, WebGLShader shader) { #if _DEBUG Log.Info(string.Format("attachShader {0} {1}", program.Value, shader.Value)); #endif #if GLEW_STATIC Gl.glAttachShader(program.Value, shader.Value); #else Gl.__glewAttachShader(program.Value, shader.Value); #endif this.ErrorTest(); }