diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-10-02 22:06:35 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-10-02 22:15:57 +0200 |
commit | 6695dc4222bb97c0f9dffce46a54456eeb5f4b5f (patch) | |
tree | 2adbad2930a7e771741345677c245667db563c0c | |
parent | 4266ced619de86b3a7706f3ee6c8a24ba111b6ba (diff) |
Don't check texture dimensions in mgaCheckSourceTexture().
The server is already doing that for us.
-rw-r--r-- | src/mga_exa.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index 1c12616..5ffb553 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -322,11 +322,6 @@ mgaCheckSourceTexture(int tmu, PicturePtr pPict) int w = pPict->pDrawable->width; int h = pPict->pDrawable->height; - if ((w > 2047) || (h > 2047)){ - DEBUG_MSG(("Picture w/h too large (%dx%d)\n", w, h)); - return FALSE; - } - if (!mgaGetTexFormat(pPict)) { DEBUG_MSG(("Unsupported picture format 0x%x\n", pPict->format)); return FALSE; |