summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-11-04 11:27:53 +0100
committerAdam Jackson <ajax@redhat.com>2008-11-05 13:48:30 -0500
commitb8fd8da1ad985988426d0269982751a70535e8d0 (patch)
treebc1a9c807b4776a2701ddb10ce0a5a91dbf89ff9
parent377712dbfce73348ad7f2610df51a1a805536392 (diff)
AIGLX: Reinstate call to driver texOffsetFinish hook.
It was accidentally lost when factoring out __glXDRIdoReleaseTexImage, so this is a regression fix and should probably be backported to server-1.5-branch. (cherry picked from commit a4d62bbf215894bad8e19d99f7330c637d3d49e3)
-rw-r--r--glx/glxdri.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/glxdri.c b/glx/glxdri.c
index a87ff13ce..52a97d4c4 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -189,6 +189,8 @@ __glXDRIdoReleaseTexImage(__GLXDRIscreen *screen, __GLXDRIdrawable *drawable)
for (i = 0; i < lastOverride; i++) {
if (texOffsetOverride[i] == drawable) {
+ if (screen->texOffsetFinish)
+ screen->texOffsetFinish((PixmapPtr)drawable->base.pDraw);
texOffsetOverride[i] = NULL;