mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
intel: don't crash when dri2 tells us about buffers we don't care about. (cherry picked from commit f82f1ffba9)
This commit is contained in:
parent
058cf2fff1
commit
711a57f7c7
1 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,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