Skip to content
Commit 623646bb authored by Loïc Yhuel's avatar Loïc Yhuel Committed by Daniel Stone
Browse files

gl-renderer: Do not attach the first buffer twice



When gl_renderer_attach is called, surface->buffer_ref.buffer points to the buffer.
So if the surface state needs to be created, we have :
gl_renderer_attach -> get_surface_state -> gl_renderer_create_surface -> gl_renderer_attach

Fixes: 895b1fdc ("gl-renderer: Attach buffer during surface state creation if possible")
Signed-off-by: default avatarLoïc Yhuel <loic.yhuel@softathome.com>
parent 7dcde16f
Loading
Loading
Loading
Pipeline #985161 passed with stages
in 2 minutes and 45 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment