Bugzilla – Attachment 58856 Details for
Bug 133989
vga driver crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fix
diff.renderfix (text/plain), 1.32 KB, created by
Egbert Eich
on 2005-11-28 18:27:57 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Egbert Eich
Created:
2005-11-28 18:27:57 UTC
Size:
1.32 KB
patch
obsolete
>Index: programs/Xserver/miext/cw/cw.c >=================================================================== >RCS file: /home/eich/cvs/xc/programs/Xserver/miext/cw/cw.c,v >retrieving revision 1.1.1.5 >diff -u -r1.1.1.5 cw.c >--- programs/Xserver/miext/cw/cw.c 25 Nov 2005 10:05:47 -0000 1.1.1.5 >+++ programs/Xserver/miext/cw/cw.c 28 Nov 2005 18:24:10 -0000 >@@ -659,7 +659,7 @@ > SCREEN_EPILOGUE(pScreen, GetWindowPixmap, cwGetWindowPixmap); > > #ifdef RENDER >- if (GetPictureScreen (pScreen)) >+ if (GetPictureScreenIfSet (pScreen)) > cwInitializeRender(pScreen); > #endif > } >Index: programs/Xserver/render/picture.c >=================================================================== >RCS file: /home/eich/cvs/xc/programs/Xserver/render/picture.c,v >retrieving revision 1.1.1.28 >diff -u -r1.1.1.28 picture.c >--- programs/Xserver/render/picture.c 25 Nov 2005 10:05:52 -0000 1.1.1.28 >+++ programs/Xserver/render/picture.c 28 Nov 2005 18:24:10 -0000 >@@ -69,9 +69,11 @@ > Bool > AllocatePicturePrivate (ScreenPtr pScreen, int index2, unsigned int amount) > { >- PictureScreenPtr ps = GetPictureScreen(pScreen); >+ PictureScreenPtr ps = GetPictureScreenIfSet(pScreen); > unsigned int oldamount; > >+ if (!ps) return TRUE; >+ > /* Round up sizes for proper alignment */ > amount = ((amount + (sizeof(long) - 1)) / sizeof(long)) * sizeof(long); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 133989
:
57499
| 58856