Subversion Repositories Kolibri OS

Rev

Rev 6088 | Rev 6296 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6088 Rev 6283
Line 2535... Line 2535...
2535
	}
2535
	}
Line 2536... Line 2536...
2536
 
2536
 
2537
	drm_for_each_crtc(tmp, crtc->dev) {
2537
	drm_for_each_crtc(tmp, crtc->dev) {
2538
		if (tmp->primary->fb)
2538
		if (tmp->primary->fb)
2539
			drm_framebuffer_reference(tmp->primary->fb);
2539
			drm_framebuffer_reference(tmp->primary->fb);
2540
//		if (tmp->old_fb)
2540
		if (tmp->primary->old_fb)
-
 
2541
			drm_framebuffer_unreference(tmp->primary->old_fb);
2541
//			drm_framebuffer_unreference(tmp->old_fb);
2542
		tmp->primary->old_fb = NULL;
Line 2542... Line 2543...
2542
	}
2543
	}
2543
 
2544
 
2544
	return ret;
2545
	return ret;