/contrib/sdk/sources/Intel-2D/sna/sna.c |
---|
485,8 → 485,8 |
* never occur |
*/ |
y1 = clip->t - crtc->t; |
if (y1 < 0) |
y1 = 0; |
if (y1 < 1) |
y1 = 1; |
y2 = clip->b - crtc->t; |
if (y2 > crtc->b - crtc->t) |
y2 = crtc->b - crtc->t; |
970,6 → 970,7 |
__lock_acquire_recursive(__sna_lock); |
#if 1 |
{ |
rect_t crtc, clip; |
986,6 → 987,7 |
kgem_set_mode(&sna_device->kgem, KGEM_RENDER, sna_fb.fb_bo); |
sna_wait_for_scanline(sna_device, &crtc, &clip); |
} |
#endif |
if( sna_device->render.blit_tex(sna_device, PictOpSrc,scale, |
&src, src_bo, |