mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
gallium: no renderbuffer, so just exit.
This commit is contained in:
parent
95438727dd
commit
9e1f0e173e
1 changed files with 3 additions and 1 deletions
|
|
@ -176,7 +176,9 @@ st_set_framebuffer_surface(struct st_framebuffer *stfb,
|
|||
assert(surfIndex < BUFFER_COUNT);
|
||||
|
||||
strb = st_renderbuffer(stfb->Base.Attachment[surfIndex].Renderbuffer);
|
||||
assert(strb);
|
||||
|
||||
/* fail */
|
||||
if (!strb) return;
|
||||
|
||||
/* replace the renderbuffer's surface/texture pointers */
|
||||
pipe_surface_reference( &strb->surface, surf );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue