mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
intel: don't crash when dri2 tells us about buffers we don't care about.
This commit is contained in:
parent
f967e8b507
commit
f82f1ffba9
1 changed files with 3 additions and 0 deletions
|
|
@ -254,6 +254,9 @@ intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable)
|
|||
return;
|
||||
}
|
||||
|
||||
if (rb == NULL)
|
||||
continue;
|
||||
|
||||
if (rb->region) {
|
||||
dri_bo_flink(rb->region->buffer, &name);
|
||||
if (name == buffers[i].name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue