more gcc2 fixes courtesy sparc
This commit is contained in:
parent
51ad66e69b
commit
519385f8fc
@ -406,10 +406,10 @@ ProcXF86DRIDestroyDrawable(
|
||||
register ClientPtr client
|
||||
)
|
||||
{
|
||||
int rc;
|
||||
REQUEST(xXF86DRIDestroyDrawableReq);
|
||||
DrawablePtr pDrawable;
|
||||
REQUEST_SIZE_MATCH(xXF86DRIDestroyDrawableReq);
|
||||
int rc;
|
||||
|
||||
if (stuff->screen >= screenInfo.numScreens) {
|
||||
client->errorValue = stuff->screen;
|
||||
|
@ -117,9 +117,9 @@ static DevPrivateKey ShadowGCKey = &ShadowGCKey;
|
||||
}
|
||||
|
||||
#define SHADOW_GC_OP_PROLOGUE(pGC)\
|
||||
GCFuncs *oldFuncs = pGC->funcs;\
|
||||
ShadowScreenPtr pPriv = GET_SCREEN_PRIVATE(pGC->pScreen); \
|
||||
ShadowGCPtr pGCPriv = GET_GC_PRIVATE(pGC);\
|
||||
GCFuncs *oldFuncs = pGC->funcs;\
|
||||
pGC->funcs = pGCPriv->funcs;\
|
||||
pGC->ops = pGCPriv->ops
|
||||
|
||||
@ -432,10 +432,10 @@ extern GCOps ShadowGCOps;
|
||||
static Bool
|
||||
ShadowCreateGC(GCPtr pGC)
|
||||
{
|
||||
Bool ret;
|
||||
ScreenPtr pScreen = pGC->pScreen;
|
||||
ShadowScreenPtr pPriv = GET_SCREEN_PRIVATE(pScreen);
|
||||
ShadowGCPtr pGCPriv = GET_GC_PRIVATE(pGC);
|
||||
Bool ret;
|
||||
|
||||
pScreen->CreateGC = pPriv->CreateGC;
|
||||
if((ret = (*pScreen->CreateGC) (pGC))) {
|
||||
|
Loading…
Reference in New Issue
Block a user