diff --git a/glx/glxdri.c b/glx/glxdri.c index aa763de..c68b127 100644 --- a/glx/glxdri.c +++ b/glx/glxdri.c @@ -396,7 +396,8 @@ __glXDRIbindTexImage(__GLXcontext *baseContext, pixmap = (PixmapPtr) glxPixmap->pDraw; - if (screen->texOffsetStart && screen->texOffset) { + if (screen->texOffsetStart && screen->texOffset && + screen->texOffsetStart(pixmap) != ~0ULL) { __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride; int i, firstEmpty = 16;