mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeon: fix potential segfault in renderbuffer update
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
78ccca5a69
commit
9b1ac4d127
1 changed files with 1 additions and 2 deletions
|
|
@ -740,10 +740,9 @@ radeon_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable,
|
|||
buffers[i].flags);
|
||||
|
||||
if (bo == NULL) {
|
||||
|
||||
fprintf(stderr, "failed to attach %s %d\n",
|
||||
regname, buffers[i].name);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = radeon_bo_get_tiling(bo, &tiling_flags, &pitch);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue