diff options
-rw-r--r-- | src/uxa/uxa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uxa/uxa.c b/src/uxa/uxa.c index b14cd8f0..1b804690 100644 --- a/src/uxa/uxa.c +++ b/src/uxa/uxa.c @@ -277,9 +277,9 @@ uxa_destroy_gc(GCPtr gc) #if HAS_GLAMOR_DESTROY_GC uxa_screen_t *uxa_screen = uxa_get_screen(gc->pScreen); if (uxa_screen->info->flags & UXA_USE_GLAMOR) { - glamor_destroy_gc(gc); - return; - } + glamor_destroy_gc(gc); + return; + } #endif miDestroyGC(gc); } @@ -288,7 +288,7 @@ static GCFuncs uxaGCFuncs = { .ValidateGC = uxa_validate_gc, .ChangeGC = miChangeGC, .CopyGC = miCopyGC, - .DestroyGC = uxa_destroy_gc, + .DestroyGC = uxa_destroy_gc, .ChangeClip = miChangeClip, .DestroyClip = miDestroyClip, .CopyClip = miCopyClip |