public WebGLShader createShader(int type)
        {
#if _DEBUG
            Log.Info(string.Format("createShader {0}", type));
#endif

#if GLEW_STATIC
            var shader = (uint)Gl.glCreateShader(type);
#else
            var shader = (uint)Gl.__glewCreateShader(type);
#endif
            this.ErrorTest();
            return(new GlShaderAdapter(shader));
        }