updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / xf86-video-intel-plymouth / 120_check_privates.patch
blobbe8d8799bd18a8c011b332b420c4fe8acd94044d
1 diff --git a/src/i965_render.c b/src/i965_render.c
2 index b1ac6ba..c5eb611 100644
3 --- a/src/i965_render.c
4 +++ b/src/i965_render.c
5 @@ -1126,6 +1126,9 @@ i965_set_picture_surface_state(intel_screen_private *intel,
6 uint32_t write_domain, read_domains;
7 int offset;
9 + if (!priv)
10 + return;
12 if (is_dst) {
13 write_domain = I915_GEM_DOMAIN_RENDER;
14 read_domains = I915_GEM_DOMAIN_RENDER;