public GLWidgetBase()
        : base(attrlist, ShareArea)
    {
        GlUtil.ContextValid = false;
        ExposeEvent += OnExposed;
        ConfigureEvent += OnConfigure;

        if(ShareArea == null) {
            ShareArea = this;
        }
    }
示例#2
0
    public GLWidgetBase()
        : base(attrlist, ShareArea)
    {
        GlUtil.ContextValid = false;
        ExposeEvent        += OnExposed;
        ConfigureEvent     += OnConfigure;

        if (ShareArea == null)
        {
            ShareArea = this;
        }
    }