diff options
author | keithw <keithw> | 2000-01-31 20:27:10 +0000 |
---|---|---|
committer | keithw <keithw> | 2000-01-31 20:27:10 +0000 |
commit | bf987d850ea635cc0165ba255fbfe5ca89f38c56 (patch) | |
tree | 8df9edca333f80302852a9b6304742eb1ee057ff | |
parent | cf778ece9b94f99318fcbfe0fddfdaf14ebfd483 (diff) |
correct handling of culled case in private backbufferi810-20000201-beta1
-rw-r--r-- | xc/programs/Xserver/GL/dri/dri.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xc/programs/Xserver/GL/dri/dri.c b/xc/programs/Xserver/GL/dri/dri.c index 56d7c9bff..2b11c48f1 100644 --- a/xc/programs/Xserver/GL/dri/dri.c +++ b/xc/programs/Xserver/GL/dri/dri.c @@ -940,7 +940,7 @@ DRIGetDrawableInfo( *auxX = *X; *auxY = *Y; - if (pDRIPriv->nrWindows == 1) { + if (pDRIPriv->nrWindows == 1 && *numClipRects) { /* Use a single cliprect. */ int x0 = *X; @@ -958,7 +958,6 @@ DRIGetDrawableInfo( pDRIPriv->private_buffer_rect.x2 = x1; pDRIPriv->private_buffer_rect.y2 = y1; - /* Culled case? */ *numAuxClipRects = 1; *pAuxClipRects = &(pDRIPriv->private_buffer_rect); } else { |