diff options
author | Chris Wilson <[email protected]> | 2015-08-07 21:13:12 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-10-21 14:23:22 +0100 |
commit | 03ab39fa702f2e5dd95a43abd17d70706e3c0eaf (patch) | |
tree | 9423ced927e24045513197177c88989abeeae531 /m4/ax_prog_flex.m4 | |
parent | 4d215a25d582daa1182a09205addd47cdf1422d9 (diff) |
i965: Remove early release of DRI2 miptree
intel_update_winsys_renderbuffer_miptree() will release the existing
miptree when wrapping a new DRI2 buffer, so we can remove the early
release and so prevent a NULL mt dereference should importing the new
DRI2 name fail for any reason. (Reusing the old DRI2 name will result
in the rendering going astray, to a stale buffer, and not shown on the
screen, but it allows us to issue a warning and not crash much later in
innocent code.)
Signed-off-by: Chris Wilson <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86281
Reviewed-by: Martin Peres <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
(cherry picked from commit 70e91d61fde239e8ae58148cacd4ff891126e2aa)
Diffstat (limited to 'm4/ax_prog_flex.m4')
0 files changed, 0 insertions, 0 deletions