diff options
Diffstat (limited to 'vmwgfx/vmwgfx_tex_video.c')
-rw-r--r-- | vmwgfx/vmwgfx_tex_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmwgfx/vmwgfx_tex_video.c b/vmwgfx/vmwgfx_tex_video.c index acc2b56..480a5f1 100644 --- a/vmwgfx/vmwgfx_tex_video.c +++ b/vmwgfx/vmwgfx_tex_video.c @@ -237,7 +237,7 @@ stop_video(ScrnInfoPtr pScrn, pointer data, Bool shutdown) for (i=0; i<3; ++i) { for (j=0; j<2; ++j) { - if (priv->yuv[i]) { + if (priv->yuv[j][i]) { xa_surface_destroy(priv->yuv[j][i]); priv->yuv[j][i] = NULL; } |