mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
cogl: Fix memory allocation of CoglGLContext
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3440>
This commit is contained in:
parent
625a7950c4
commit
48515d917c
@ -108,7 +108,7 @@ _cogl_driver_gl_context_init (CoglContext *context)
|
||||
CoglGLContext *gl_context;
|
||||
|
||||
if (!context->driver_context)
|
||||
context->driver_context = g_new0 (CoglContext, 1);
|
||||
context->driver_context = g_new0 (CoglGLContext, 1);
|
||||
|
||||
gl_context = _cogl_driver_gl_context (context);
|
||||
if (!gl_context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user