cogl/framebuffer: Move public struct fields to private struct
This will limit accidental manipulation of the framebuffer struct fields, while also paving the way to change to GObject type hierarchy. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
ffde1c0124
commit
aa99e505ad
@ -259,7 +259,7 @@ emit_vertex_buffer_geometry (CoglFramebuffer *fb,
|
||||
CoglPipeline *pipeline,
|
||||
CoglPangoDisplayListNode *node)
|
||||
{
|
||||
CoglContext *ctx = fb->context;
|
||||
CoglContext *ctx = cogl_framebuffer_get_context (fb);
|
||||
|
||||
/* It's expensive to go through the Cogl journal for large runs
|
||||
* of text in part because the journal transforms the quads in software
|
||||
|
Reference in New Issue
Block a user