st/mesa: only resolve if number of samples is > 1
authorDave Airlie <airlied@redhat.com>
Wed, 30 Nov 2011 20:10:19 +0000 (20:10 +0000)
committerMarek Olšák <maraeo@gmail.com>
Sun, 12 Feb 2012 20:35:27 +0000 (21:35 +0100)
commit094eeff19946138d6306d74e9e62af5e9d192abd
tree720f73b8b0e5f677d0aedddc98901047470a7b2c
parentbd1ae51b13535bc4438c663ffe91ded49db4890a
st/mesa: only resolve if number of samples is > 1

Marek: this fixes a firefox crash and maybe even:
https://bugs.freedesktop.org/show_bug.cgi?id=45943

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
src/mesa/state_tracker/st_cb_blit.c