Move the new render symbols to dixsym.c instead so they are grouped with

the other render symbols.
Initialize screen_x and screen_y to 0. This fixes a problem with the new
    Damage based sprite, where intersection test against the root pixmap
    would fail because the two fields were not initialized (damage.c,
    166-170).
This commit is contained in:
Kristian Høgsberg
2004-08-09 03:40:50 +00:00
parent 57eab4dc87
commit 26847ef926
3 changed files with 13 additions and 9 deletions

View File

@@ -73,6 +73,11 @@ fbCreatePixmapBpp (ScreenPtr pScreen, int width, int height, int depth, int bpp)
fbInitializeDrawable (&pPixmap->drawable);
#endif
#ifdef COMPOSITE
pPixmap->screen_x = 0;
pPixmap->screen_y = 0;
#endif
return pPixmap;
}