diff options
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r-- | src/mga_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index 97e5b08..1c12616 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -781,7 +781,7 @@ init_dri(ScrnInfoPtr pScrn) } maxlines = (min(pMga->FbUsableSize, mb * 1024 * 1024)) / - (pScrn->displayWidth * pMga->CurrentLayout.bitsPerPixel / 8); + (pScrn->displayWidth * pScrn->bitsPerPixel / 8); dri->frontOffset = 0; dri->frontPitch = widthBytes; |