mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
cogl/offscreen: Remove alloation_flags struct field
Was unused. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1514>
This commit is contained in:
parent
408d4c9f09
commit
1bee9e0d53
@ -51,8 +51,6 @@ struct _CoglOffscreen
|
||||
CoglTexture *texture;
|
||||
int texture_level;
|
||||
|
||||
CoglOffscreenAllocateFlags allocation_flags;
|
||||
|
||||
/* FIXME: _cogl_offscreen_new_with_texture_full should be made to use
|
||||
* fb->config to configure if we want a depth or stencil buffer so
|
||||
* we can get rid of these flags */
|
||||
|
@ -831,11 +831,6 @@ _cogl_offscreen_gl_allocate (CoglOffscreen *offscreen,
|
||||
ctx->have_last_offscreen_allocate_flags = TRUE;
|
||||
}
|
||||
|
||||
/* Save the flags we managed to successfully allocate the
|
||||
* renderbuffers with in case we need to make renderbuffers for a
|
||||
* GLES2 context later */
|
||||
offscreen->allocation_flags = flags;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user