diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-10-01 19:46:23 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-10-01 19:46:23 +0200 |
commit | b45d585f07c7da283b6ded2d5f294d097391b942 (patch) | |
tree | b978733343b0dd7aca38bc43c3ed7006ca109dae | |
parent | f7aa8c703443902373baad60d5927e6a3b77298c (diff) |
Set maxPitchPixels if available.
-rw-r--r-- | src/mga_exa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index be61bb5..97e5b08 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -873,6 +873,11 @@ mgaExaInit(ScreenPtr pScreen) pExa->maxX = 2048; pExa->maxY = 2048; +#if EXA_VERSION_MAJOR > 2 || \ + (EXA_VERSION_MAJOR == 2 && EXA_VERSION_MINOR > 2) + pExa->maxPitchPixels = 4096; +#endif + pExa->WaitMarker = mgaWaitMarker; pExa->PrepareSolid = mgaPrepareSolid; pExa->Solid = mgaSolid; |