mirror of
https://github.com/brl/mutter.git
synced 2025-02-10 02:14:09 +00:00
![Emmanuele Bassi](/assets/img/avatar_default.png)
Since we must guarantee that Cogl has a GL context to query, it is too late to use the "dummy Window" trick from within the get_features() virtual function implementation. Instead, we can create a dummy Window from create_context() itself and leave it around - basically trading a default stage with a dummy X window. We need to have the dummy X window around all the time so that the GLX context can be selected and made current.