summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-06 14:36:09 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-08-08 12:12:47 -0700
commitfb3d62fe3d4fc40ba4ad9804d8b6f451316c9ae2 (patch)
tree8fa3e84a36580ca61445869bec3b0b67b08130da /src/egl/wayland
parent43076a55c2c914a619b8b3a3f93e15a7eee6d2ad (diff)
downloadexternal_mesa3d-fb3d62fe3d4fc40ba4ad9804d8b6f451316c9ae2.zip
external_mesa3d-fb3d62fe3d4fc40ba4ad9804d8b6f451316c9ae2.tar.gz
external_mesa3d-fb3d62fe3d4fc40ba4ad9804d8b6f451316c9ae2.tar.bz2
i965: Remember to call intel_prepare_render() before blitting.
Otherwise, blits to the window system buffer may cause crashes, since dst_irb->mt may be NULL. This code is lifted straight out of brw_blorp_framebuffer()'s try_blorp_blit() helper. Fixes crashes in Piglit's fbo-sys-blit on systems without BLORP. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65919 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Cc: "9.2" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/egl/wayland')
0 files changed, 0 insertions, 0 deletions