mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
cogl-context: Initialize context->stub_winsys
If Cogl is built using a full Winsys then it wasn't initialising context->stub_winsys which sometimes made it crash later on.
This commit is contained in:
parent
14b6c0459f
commit
d832172988
@ -154,6 +154,7 @@ cogl_context_new (CoglDisplay *display,
|
||||
context->display = display;
|
||||
|
||||
#ifdef COGL_HAS_FULL_WINSYS
|
||||
context->stub_winsys = FALSE;
|
||||
if (!_cogl_winsys_context_init (context, error))
|
||||
{
|
||||
cogl_object_unref (display);
|
||||
|
Loading…
Reference in New Issue
Block a user