more gcc2 breakage found by sparc
This commit is contained in:
parent
5409a9c73b
commit
0a00651cd8
@ -408,8 +408,8 @@ ProcXF86DRIDestroyDrawable(
|
||||
{
|
||||
REQUEST(xXF86DRIDestroyDrawableReq);
|
||||
DrawablePtr pDrawable;
|
||||
REQUEST_SIZE_MATCH(xXF86DRIDestroyDrawableReq);
|
||||
int rc;
|
||||
REQUEST_SIZE_MATCH(xXF86DRIDestroyDrawableReq);
|
||||
|
||||
if (stuff->screen >= screenInfo.numScreens) {
|
||||
client->errorValue = stuff->screen;
|
||||
|
@ -117,9 +117,11 @@ static DevPrivateKey ShadowGCKey = &ShadowGCKey;
|
||||
}
|
||||
|
||||
#define SHADOW_GC_OP_PROLOGUE(pGC)\
|
||||
ShadowScreenPtr pPriv = GET_SCREEN_PRIVATE(pGC->pScreen); \
|
||||
ShadowGCPtr pGCPriv = GET_GC_PRIVATE(pGC);\
|
||||
ShadowScreenPtr pPriv;\
|
||||
ShadowGCPtr pGCPriv;\
|
||||
GCFuncs *oldFuncs = pGC->funcs;\
|
||||
pGCPriv = GET_GC_PRIVATE(pGC);\
|
||||
pPriv = GET_SCREEN_PRIVATE(pGC->pScreen);\
|
||||
pGC->funcs = pGCPriv->funcs;\
|
||||
pGC->ops = pGCPriv->ops
|
||||
|
||||
@ -433,9 +435,11 @@ static Bool
|
||||
ShadowCreateGC(GCPtr pGC)
|
||||
{
|
||||
ScreenPtr pScreen = pGC->pScreen;
|
||||
ShadowScreenPtr pPriv = GET_SCREEN_PRIVATE(pScreen);
|
||||
ShadowGCPtr pGCPriv = GET_GC_PRIVATE(pGC);
|
||||
ShadowScreenPtr pPriv;
|
||||
ShadowGCPtr pGCPriv;
|
||||
Bool ret;
|
||||
pPriv = GET_SCREEN_PRIVATE(pScreen);
|
||||
pGCPriv = GET_GC_PRIVATE(pGC);
|
||||
|
||||
pScreen->CreateGC = pPriv->CreateGC;
|
||||
if((ret = (*pScreen->CreateGC) (pGC))) {
|
||||
|
Loading…
Reference in New Issue
Block a user